Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 1.11 KB

README.md

File metadata and controls

50 lines (35 loc) · 1.11 KB

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