1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-07 17:18:02 +00:00

Add Show Matching Entries For Help as a vim til

This commit is contained in:
jbranchaud
2016-08-23 21:49:17 -05:00
parent f483cf3bf3
commit bef69f3d82
2 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
# Show Matching Entries For Help
Looking up things with Vim's `:help` command can be error prone if you don't
know exactly how to format what you are looking up. Bypass some of the
guesswork by hitting `Ctrl-d` after writing part of the `:help` command.
This will populate a wildmenu of possible matches.
For instance, if you know there is a command containing `?`, but you aren't
sure how to look it up, try the following:
```
:help ?<Ctrl-d>
```
You can tab through to the one you want and hit enter to read up on it. Who
knew there were so many Vim bindings involving a `?`.
See `:h help-context` for more details.