Skip to content

fgheng/winbar.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Winbar.nvim

winbar2

Reference ChristianChiarulli/nvim

Installation

Note: winbar.nvim requires Neovim nightly

nvim-gps and nvim-web-devicons are optional. nvim-gps for the symbols and web-devicons for file icons.

Packer

use { 'fgheng/winbar.nvim' }

Usage

require('winbar').setup()

Configuration

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