diff --git a/vim/vimrc b/vim/vimrc index ab79906..ad7813e 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -26,6 +26,8 @@ if filereadable(expand("$HOME/.vim/bundle/vundle/README.md")) Plugin 'honza/vim-snippets' Plugin 'ton/vim-bufsurf' + Plugin 'bsdelf/bufferhint' + Plugin 'AndrewRadev/switch.vim' Plugin 'airblade/vim-gitgutter' @@ -115,6 +117,8 @@ set backupdir=~/.vim/tmp/backup let mapleader = "," +let g:bufferhint_MaxWidth = 200 + " FOLDING " { set foldenable @@ -146,6 +150,9 @@ nnoremap ,bf :bnext nnoremap ,Bp :BufSurfBack nnoremap ,Bf :BufSurfForward +nnoremap - :call bufferhint#Popup() +nnoremap \ :call bufferhint#LoadPrevious() + " delete into the black hole register nnoremap d "_d " }