Vim help on current word

This commit is contained in:
Emmanuel BENOîT 2015-03-13 11:06:05 +01:00
parent f072b5507e
commit 13f64ccbe4
2 changed files with 4 additions and 0 deletions

View file

@ -37,6 +37,8 @@ local leader key.
<Leader>Bi NeoBundle: install new bundles <Leader>Bi NeoBundle: install new bundles
<Leader>hm Help: man page for current word <Leader>hm Help: man page for current word
<Leader>hv Help: vim help for current word (only in .vim
files)
<Leader>pp CtrlP: buffer list <Leader>pp CtrlP: buffer list
<Leader>po CtrlP: recently used files <Leader>po CtrlP: recently used files

View file

@ -1 +1,3 @@
nnoremap <silent><buffer> <LocalLeader>r :execute getline('.')<cr> nnoremap <silent><buffer> <LocalLeader>r :execute getline('.')<cr>
nnoremap <silent><buffer> <Leader>hv
\ :execute 'help' expand('<cword>')<cr>