diff --git a/README.md b/README.md index 15f017d..7cf3a19 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ variety of languages and technologies. These are things that don't really warrant a full blog post. These are mostly things I learn by pairing with smart people at [Hashrocket](http://hashrocket.com/). -_455 TILs and counting..._ +_456 TILs and counting..._ --- @@ -519,6 +519,7 @@ _455 TILs and counting..._ - [Set Your Color Scheme](vim/set-your-color-scheme.md) - [Setting Filetype With Modelines](vim/setting-filetype-with-modelines.md) - [Show All Syntax Highlighting Rules](vim/show-all-syntax-highlighting-rules.md) +- [Show Matching Entries For Help](vim/show-matching-entries-for-help.md) - [Split Different](vim/split-different.md) - [Splitting For New Files](vim/splitting-for-new-files.md) - [Swap Occurrences Of Two Words](vim/swap-occurrences-of-two-words.md) diff --git a/vim/show-matching-entries-for-help.md b/vim/show-matching-entries-for-help.md new file mode 100644 index 0000000..9bbb892 --- /dev/null +++ b/vim/show-matching-entries-for-help.md @@ -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 ? +``` + +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.