Tip #229: First thing to try before asking help
| tip karma
Rating 154/60, Viewed by 5066
Read and edit this tip on the
Vim tip wiki.
The wiki may have a more recent version of this tip.
||March 27, 2002 19:17
||as of Vim:
I've seen several questions asked in the reflector which is available in the help files.
Yeah, I know the help is huge. But, you can try this command to show a list of related
topics you are trying:
It is "some topic" followed by the key sequence Ctrl-D. For eg:
will show all the help topics matching xterm. Then you can do completion/copy-n-paste
the topic you are searching. Of course you can cycle through all the topics through
repeated <TABS>, but if the number of hits are huge, it is cumbersome.
Enjoy vimming beginners!!!
<< Deleting nested reply threads in emails |
copy current file to another location from within vim >>
March 27, 2002 19:20
|Forgot to add that <c-d> can be used for listing other matches also.
:e <c-d> "to show list of files matching the pattern
:buf <c-d> "to show list of open buffers etc.
April 3, 2002 6:16
|Also see the widemenu.
set wildmenu wildmode=longest:full,full
What it does:
First tab: longest match, list in the statusbar.
Next tabs: cycle through matches. (Like in the shell)
jaldripublic at comcast dot net,
November 17, 2003 8:15