Man page browsing

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

7
cfg/25-man.vim Normal file
View file

@ -0,0 +1,7 @@
" Make sure :Man is loaded, and map it.
if exists( ':Man' ) != 2
source $VIMRUNTIME/ftplugin/man.vim
endif
nnoremap <Leader>hm :Man <cword><cr>

View file

@ -36,6 +36,8 @@ local leader key.
<Leader>Bu NeoBundle: check for updates
<Leader>Bi NeoBundle: install new bundles
<Leader>hm Help: man page for current word
<Leader>pp CtrlP: buffer list
<Leader>po CtrlP: recently used files
<Leader>pi CtrlP: directory