Skip to content

Djancyp/outline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Outline ( Another Nvim Buffer Management with Winbar )

Outline is a simple(not so simple) Nvim buffer management plugin written in Lua.

What you will get with this plugin.

  • 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.
  • Buffer main

  • Status line

  • Previw

  • Key binding

requirements

  • Neovim Nightly ≥ v0.8 - Winbar support
  • A patched nerd font for the buffer icons
  • nvim-web-devicons for filetype icons (recommended)

Install

use {"Djancyp/outline"}

require('outline').setup()

Usage

// Toggle  Buffer tab
:BSOpen
// Recommended key binding shift+c
<S-c>

Keys

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

Contributing

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.

License

MIT

About

Nvim buffer & winbar plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published