Skip to content

Display buffers as tree to quickly navigate between them.

License

Notifications You must be signed in to change notification settings

tklepzig/vim-buffer-navigator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Buffer Navigator

Display buffers as tree in a separate window. In it you can preview any buffer or switch directly to it. Additionally, you can close a single buffer or all inside a directory tree.

BufferNavigator Screenshot

Installation

  1. Add the following configuration to your .vimrc.

    Plugin 'tklepzig/vim-buffer-navigator'
    
  2. Install with :BundleInstall.

  1. Add the following configuration to your .vimrc.

    NeoBundle 'tklepzig/vim-buffer-navigator'
    
  2. Install with :NeoBundleInstall.

  1. Add the following configuration to your .vimrc.

    Plug 'tklepzig/vim-buffer-navigator'
    
  2. Install with :PlugInstall.

Usage

The buffer navigator can be toggled by using either of these:

  • leader + b (Can be disabled by setting let g:BufferNavigatorMapKeys = 0)
  • :BufferNavigatorToggle

Inside the buffer tree the following mappings exists:

Key Function
o Switch to selected buffer
Return Same as o
s Open selected buffer in split
v Open selected buffer in vertical split
p Open buffer in preview mode (buffer navigator window stays open)
x Close selected buffer or tree
z Toggle zoom (increase width of buffer navigator window to max width)
r Refresh buffer tree
m Toggle mode between tree and MRU

Documentation

You can view the full manual (including customization options) with :help buffer-navigator.

Contribution

Have a feature request or found a bug? Open an issue at https://github.com/tklepzig/vim-buffer-navigator/issues.

About

Display buffers as tree to quickly navigate between them.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published