- simply window operation for neovim written in lua
- inspired by you-are-here.vim
- packer.nvim
use {'tkmpypy/chowcho.nvim'}
Select the number after executing the command Chowcho
or after calling the lua function.
require('chowcho').run()
Optionally, run an arbitrary function which receives winid. The example below hides a selected window.
require('chowcho').run(vim.api.nvim_win_hide)
call setup
function
require('chowcho').setup {
icon_enabled = true, -- required 'nvim-web-devicons' (default: false)
text_color = '#FFFFFF',
bg_color = '#555555',
active_border_color = '#0A8BFF',
border_style = 'default' -- 'default', 'rounded',
exclude = function(buf, buftype, fname)
-- exclude a window from the choice based on its buffer information
return fname == ''
end
}