How do I jump to a tag definition using the tag stack?
<C-]>
The command jumps to the definition of the keyword under the cursor using tag files.
287 results for ":jumps"
<C-]>
The command jumps to the definition of the keyword under the cursor using tag files.
}
The } motion moves the cursor forward to the next blank line, effectively jumping to the next paragraph.
]c and [c
When files are open in Vim's built-in diff mode — whether via vimdiff, :diffsplit, or :diffthis — the ]c and [c motions let you jump precisely between chang
<C-o> / <C-i>
Vim maintains a jumplist — a history of every "jump" you make (searches, marks, gg, G, %, etc.
<C-o> and <C-i>
Vim maintains a jump list of positions you have visited.
[m and ]m
The [m and ]m motions jump to the start of method/function definitions in languages with brace-delimited blocks.
[{ / ]}
When editing code inside a deeply nested block, [{ jumps backward to the unmatched { that encloses the current position, and ]} jumps forward to its matching }.
' vs `
Vim provides two distinct ways to jump to a mark, and they behave differently: the apostrophe ' jumps to the first non-blank character of the marked line, while
` vs '
Vim offers two ways to jump to a mark, and the difference is crucial: the backtick (` `) jumps to the exact line and column where the mark was set, while the si
[{
The [{ command moves backward to the nearest unmatched {.
]m / [m / ]M / [M
When navigating large source files, ]m and [m let you jump directly to the start of the next or previous method.
<C-]> / <C-t>
The command jumps to the definition of the keyword under the cursor using a tags file, and jumps back.
%
The % command jumps to the matching bracket, parenthesis, or brace.
]`
Most users jump to marks directly ('a, ` a `), but when a file has many lowercase marks, stepping through them in order is faster than remembering each name.
s{char}{char} (vim-sneak)
vim-sneak provides a motion that lets you jump to any location specified by two characters.
% with matchit plugin
The % command jumps between matching brackets by default, but with the built-in matchit plugin, it extends to match language-specific keywords like if/else/endi
g; / g,
The g; and g, commands let you navigate Vim's changelist — a per-buffer history of every position where you made a change.
navigation #navigation #changelist #editing #normal-mode #marks
)
The ) motion moves the cursor to the beginning of the next sentence.
]s
When spell checking is enabled with :set spell, Vim underlines misspelled words in the buffer.
5<C-o>
Most Vim users know jumps backward in the jumplist, but fewer use a count with it.