Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fgheng/winbar.nvim
winbar config for neovim
https://github.com/fgheng/winbar.nvim
lua neovim neovim-ui winbar
Last synced: about 2 months ago
JSON representation
winbar config for neovim
- Host: GitHub
- URL: https://github.com/fgheng/winbar.nvim
- Owner: fgheng
- Created: 2022-05-25T10:25:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-28T08:26:02.000Z (over 1 year ago)
- Last Synced: 2024-06-17T19:02:32.493Z (3 months ago)
- Topics: lua, neovim, neovim-ui, winbar
- Language: Lua
- Homepage:
- Size: 292 KB
- Stars: 111
- Watchers: 3
- Forks: 22
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Winbar.nvim
![winbar2](sources/winbar2.png)
[Reference ChristianChiarulli/nvim](https://github.com/ChristianChiarulli/nvim)
## Installation
Note: winbar.nvim requires [Neovim nightly](https://github.com/neovim/neovim/releases/tag/nightly)
[nvim-gps](https://github.com/SmiteshP/nvim-gps) and [nvim-web-devicons](https://github.com/kyazdani42/nvim-web-devicons) are optional. nvim-gps for the symbols and web-devicons for file icons.
[Packer](https://github.com/wbthomason/packer.nvim)
```lua
use { 'fgheng/winbar.nvim' }
```## Usage
```lua
require('winbar').setup()
```## Configuration
```lua
require('winbar').setup({
enabled = true,show_file_path = true,
show_symbols = true,colors = {
path = '', -- You can customize colors like #c946fd
file_name = '',
symbols = '',
},icons = {
file_icon_default = '',
seperator = '>',
editor_state = '●',
lock_icon = '',
},exclude_filetype = {
'help',
'startify',
'dashboard',
'packer',
'neogitstatus',
'NvimTree',
'Trouble',
'alpha',
'lir',
'Outline',
'spectre_panel',
'toggleterm',
'qf',
}
})
```## Todo
- [ ] Mode support
- [ ] Monitor whether the file is read-only
- [ ] Click support while neovim support click