https://github.com/nvimdev/flybuf.nvim
show buffers in a float window and support use shortcut to open buffer
https://github.com/nvimdev/flybuf.nvim
Last synced: 4 months ago
JSON representation
show buffers in a float window and support use shortcut to open buffer
- Host: GitHub
- URL: https://github.com/nvimdev/flybuf.nvim
- Owner: nvimdev
- License: mit
- Created: 2023-03-12T05:28:27.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-25T05:01:27.000Z (almost 3 years ago)
- Last Synced: 2025-04-10T16:44:49.205Z (9 months ago)
- Language: Lua
- Size: 19.5 KB
- Stars: 37
- Watchers: 2
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
show buffers in a float window and support use shortcut to open buffer

## Features
- support show diagnostics
- simply usage
## Install
- lazy.nvim
```lua
require('lazy').setup({
{'glepnir/flybuf.nvim', cmd = 'FlyBuf', config = function()
require('flybuf').setup({})
end,}
})
```
- packer
```lua
use {'glepnir/flybuf.nvim', cmd = 'FlyBuf', config = function()
require('flybuf').setup({})
end,}
```
## Options
```lua
{
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