sponsor Vim development Vim logo Vim Book Ad

Buffer Hint : A handy buffer switcher

 script karma  Rating 146/49, Downloaded by 1826  Comments, bugs, improvements  Vim wiki

created by
Yanhui Shen
script type
With this plugin, you can browse all buffers in a popup side window. In addition, this plugin provides a "hint key" for each buffer, just like what Vimperator/Vimium/VimFx does. Therefore, you can switch among buffers quickly with a single key stroke in the best case.

Project Home Page: https://github.com/bsdelf/bufferhint
install details
cp bufferhint.vim ~/.vim/plugin/

nnoremap - :call bufferhint#Popup()<CR>
nnoremap \ :call bufferhint#LoadPrevious()<CR>

Use Case:
1."vim 1.txt 2.txt 3.txt"
2.type "-" to popup buffer hints
3.type "a"/"b"/"c" to switch to 1.txt/2.txt/3.txt correspondingly

Latest recently used mode:
4.type "-" to popup buffer hints
5.type SPACE to switch to LRU mode

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
bufferhint.vim 1.1.1 2016-10-26 7.0 Yanhui Shen Fix LoadPrevious, thanks to Jianping Liu.
bufferhint.vim 1.1.0 2016-03-29 7.0 Yanhui Shen New Features:
Keep window layout while deleting buffer (let g:bufferhint_KeepWindow = 1, default is 0)

Other Enhancements:
bufferhint.vim 1.0.1 2015-12-06 7.0 Yanhui Shen fix a bug in bufferhint#Popup()
bufferhint.vim 1.0 2015-11-26 7.0 Yanhui Shen Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.