vim: add bufferhint plugin
parent
40c9526c1e
commit
4d5f06655a
|
@ -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
|
||||
" }
|
||||
|
|
Loading…
Reference in New Issue