diff --git a/doc/heavim.txt b/doc/heavim.txt index 383d460..2592549 100644 --- a/doc/heavim.txt +++ b/doc/heavim.txt @@ -37,6 +37,8 @@ local leader key. Bi NeoBundle: install new bundles hm Help: man page for current word + hv Help: vim help for current word (only in .vim + files) pp CtrlP: buffer list po CtrlP: recently used files diff --git a/ftplugin/vim.vim b/ftplugin/vim.vim index 60b6b78..1de8460 100644 --- a/ftplugin/vim.vim +++ b/ftplugin/vim.vim @@ -1 +1,3 @@ nnoremap r :execute getline('.') +nnoremap hv + \ :execute 'help' expand('')