Skip to content

show buffers in a float window and support use shortcut to open buffer

License

Notifications You must be signed in to change notification settings

nvimdev/flybuf.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

show buffers in a float window and support use shortcut to open buffer

image

Features

  • support show diagnostics
  • simply usage

Install

  • 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,}

Options

{
    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
}

Usage

  • 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

License MIT

About

show buffers in a float window and support use shortcut to open buffer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages