vim: add bufferhint plugin

master
Guillaume Dott 2018-06-07 10:52:52 +02:00
parent 40c9526c1e
commit 4d5f06655a
1 changed files with 7 additions and 0 deletions

View File

@ -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 <silent> ,bf :bnext<CR>
nnoremap <silent> ,Bp :BufSurfBack<CR>
nnoremap <silent> ,Bf :BufSurfForward<CR>
nnoremap <Leader>- :call bufferhint#Popup()<CR>
nnoremap <Leader>\ :call bufferhint#LoadPrevious()<CR>
" delete into the black hole register
nnoremap <leader>d "_d
" }