Tip: #992 - Very simple shortcut to the helpgrep command
Created: September 14, 2005 13:55 Complexity: basic Author: Anders Th�gersen Version: 5.7 Karma: 2/6 Imported from: Tip#992
The 'helpgrep' command is very useful for searching through all
the files located in the .vim/doc directory. This command is especially
useful if your .vim/doc directory is littered with script documentation
aswell as language specific documentation such as provided by [/scripts/script.php?script_id=614 vimscript #614],
VimTip826 or [/scripts/script.php?script_id=1330 vimscript #1330].
The following abbreviation provides faster access to 'helpgrep'
cnoabbrev H helpgrep
This allows me to type :H<space>uganda to search for the word
'uganda' in all of the help files.
Comments
That is:
cnoreabbrev H helpgrep
Anonymous , September 16, 2005 16:55