From 13f64ccbe4018beccfbc3fb3825e0f8e7277149d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Fri, 13 Mar 2015 11:06:05 +0100 Subject: [PATCH] Vim help on current word --- doc/heavim.txt | 2 ++ ftplugin/vim.vim | 2 ++ 2 files changed, 4 insertions(+) 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('')