PracticalVim Tip103 - yszheda/wiki GitHub Wiki
- `` makes our cursor jump from the keyword under the cursor to the definition.
- ``: back trace the tag history
- If a tag in the current buffer matches the keyword, it gets the highest priority.
- `g` command presents a list of choices from the tag match list.
- `:tag {keyword}`: like ``
- `:tjump {keyword}`: like `g`
- can accept a regular expression when used in the form `:tag /{pattern}` or `:tjump /{pattern}`
| Command | Effect | | `` | Jump to the first tag that matches the word under the cursor | | `g` | Prompt user to select from multiple matches for the word under the cursor. If only one match exists, jump to it without prompting | | `:tag {keyword}` | Jump to the first tag that matches {keyword} | | `:tjump {keyword}` | Prompt user to select from multiple matches for {keyword}. If only one match exists, jump to it without prompting | | `:pop` or `` | Reverse through tag history | | `:tag` | Advance through tag history | | `:tnext` | Jump to next matching tag | | `:tprev` | Jump to previous matching tag | | `:tfirst` | Jump to first matching tag | | `:tlast` | Jump to last matching tag | | `:tselect` | Prompt user to choose an item from the tag matching list |