https://github.com/abstract-ide/abstract-winbar
Neovim Winbar: Elevating Awesome. Simple, Dynamic, Navic-Powered.
https://github.com/abstract-ide/abstract-winbar
Last synced: 3 months ago
JSON representation
Neovim Winbar: Elevating Awesome. Simple, Dynamic, Navic-Powered.
- Host: GitHub
- URL: https://github.com/abstract-ide/abstract-winbar
- Owner: Abstract-IDE
- License: mit
- Created: 2024-01-25T12:47:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-28T19:35:27.000Z (5 months ago)
- Last Synced: 2025-01-11T02:48:43.973Z (5 months ago)
- Language: Lua
- Size: 17.6 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
abstract-winbar
Neovim Winbar: Elevating Awesome. Simple, Dynamic, Navic-Powered.
   
## Table Of Contents
- [About the Project](#about-the-project)
- [Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Usage](#usage)
- [License](#license)
- [Acknowledgements](#acknowledgements)## About The Project
`abstract-winbar` is a Neovim plugin that enhances code editing by providing a dynamic status bar. Built on top of the Navic plugin, it offers essential file information, modification indicators, and seamless integration with Navic for efficient code navigation.
## Getting Started
### Prerequisites
[nvim-navic](https://github.com/SmiteshP/nvim-navic)
[nvim-web-devicons](https://github.com/kyazdani42/nvim-web-devicons)### Installation
use your favorite plugin manager
##### [lazy.nvim](https://github.com/folke/lazy.nvim)
```lua
{
"Abstract-IDE/abstract-winbar",
dependencies = {
"SmiteshP/nvim-navic",
"kyazdani42/nvim-web-devicons",
},
},
```## Usage
```lua
require("abstract-winbar").setup()
```
default config
```lua
require("abstract-winbar").setup({
exclude_filetypes = {
"",
"alpha",
"dap-repl",
"dap-terminal",
"dapui_breakpoints",
"dapui_console",
"dapui_scopes",
"dapui_stacks",
"dapui_watches",
"dashboard",
"DressingSelect",
"harpoon",
"help",
"Jaq",
"lab",
"lazy",
"lir",
"Markdown",
"mason",
"neo-tree",
"neogitstatus",
"notify",
"NvimTree",
"Outline",
"packer",
"spectre_panel",
"startify",
"TelescopePrompt",
"toggleterm",
"Trouble",
},
})
```
example: configure navic.nvim+abstract-winbar
```lua
local _winbar, winbar = pcall(require, "abstract-winbar")
local _navic, navic = pcall(require, "nvim-navic")
if not _winbar or not _navic then
return
endnavic.setup({
highlight = true,
separator = " ",
depth_limit = 0,
depth_limit_indicator = "..",icons = {
File = " ",
Module = " ",
Namespace = " ",
Package = " ",
Class = " ",
Method = " ",
Property = " ",
Field = " ",
Constructor = " ",
Enum = " ",
Interface = " ",
Function = " ",
Variable = " ",
Constant = " ",
String = " ",
Number = " ",
Boolean = " ",
Array = " ",
Object = " ",
Key = " ",
Null = " ",
EnumMember = " ",
Struct = " ",
Event = " ",
Operator = " ",
TypeParameter = " ",
},
})winbar.setup({
exclude_filetypes = {},
})
```## License
Distributed under the MIT License. See [LICENSE](https://github.com/Abstract-IDE/abstract-winbar/blob/main/LICENSE) for more information.
## Acknowledgements
- [shaankhan (for README)](https://readme.shaankhan.dev/)