October 2012
346 pages
7h 40m
English
| Tip 103 | Navigate Keyword Definitions with Vim’s Tag Navigation Commands |
Vim’s ctags integration turns the keywords in our code into a kind of hyperlink, allowing us to jump rapidly to a definition. We’ll see how to use the Normal mode <C-]> and g<C-]> commands as well as their complementary Ex commands.
Pressing <C-]> makes our cursor jump from the keyword under the cursor to the definition. Here it is in action:
| Keystrokes | Buffer Contents | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{start} |
| ||||||||||||||
<C-]> |
|
Read now
Unlock full access