show buffers in a float window and support use shortcut to open buffer
- support show diagnostics
- simply usage
- lazy.nvim
require('lazy').setup({
{'glepnir/flybuf.nvim', cmd = 'FlyBuf', config = function()
require('flybuf').setup({})
end,}
})
- packer
use {'glepnir/flybuf.nvim', cmd = 'FlyBuf', config = function()
require('flybuf').setup({})
end,}
{
hotkey = 'asdfghwertyuiopzcvbnm', -- hotkye
border = 'single', -- border
quit = 'q', -- quit flybuf window
mark = 'l', -- mark as delet or cancel delete
delete = 'x', -- delete marked buffers or buffers which cursor in
}
- press
FlyBuf
command to toggle FlyBuf win then press hotkey open buffer. - use mark keymap to mark the buffers then use delete key to delete
- if want delet the buffer which cursor in just press delete key