Outline is a simple(not so simple) Nvim buffer management plugin written in Lua.
-
Uses Nvim winbar to show buffer name and file change indicator. // image
-
Buffer management ui.
- Buffer switch.
- Buffer status.
- Buffer close.
- Buffer Preview.
- Buffer bind shortcut key.
- Neovim Nightly ≥ v0.8 - Winbar support
- A patched nerd font for the buffer icons
- nvim-web-devicons for filetype icons (recommended)
use {"Djancyp/outline"}
require('outline').setup()
// Toggle Buffer tab
:BSOpen
// Recommended key binding shift+c
<S-c>
| Key | Action |
| -------------- | ------------------------------- |
| q,ESC,Ctrl-c | exit outline window |
| j or <Tab> | navigate down |
| k or <S-Tab> | navigate up |
| D | close buffer |
| `<CR>` | jump to buffer |
| s | open buffer in horizontal split |
| v | open buffer in vertical split |
| <S-P> | open preview for buffer |
| <S-B> | bind buffer to a key |
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.