An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

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

![image](https://user-images.githubusercontent.com/41671631/224526523-c6fb61df-a573-44c8-91b3-6986535c1977.png)

## 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