How do I jump directly to a specific tab page by its number in Vim?
{count}gt
Prefixing gt (go to next tab) with a count jumps directly to the tab page at that position.
buffers-windows #tabs #buffers-windows #navigation #normal-mode
287 results for ":jumps"
{count}gt
Prefixing gt (go to next tab) with a count jumps directly to the tab page at that position.
buffers-windows #tabs #buffers-windows #navigation #normal-mode
nzz
Typing nzz chains two normal-mode commands: n jumps to the next match of the last search, and zz immediately redraws the screen so the cursor line is vertically
:tjump
:tjump {identifier} is the smart tag-jumping command: it jumps directly when there is only one matching tag, but shows an interactive numbered list when multipl
<C-w>h / <C-w>j / <C-w>k / <C-w>l
How it works Vim lets you navigate between split windows using followed by a direction key.
g; and g,
Vim tracks every position where you made a change in the changelist.
v3aw
In visual mode, repeating text object motions progressively expands the selection.
gd and gD
Vim's gd and gD commands jump to the declaration of the identifier under the cursor by searching upward through the file — no ctags setup required.
{count}{motion}
Almost every Vim motion and operator accepts a numeric count prefix that repeats or amplifies the action.
/pattern
The /pattern command searches forward through the file for the given pattern.
])
The ]) command moves forward to the next unmatched ).
<C-o>
The (Ctrl+o) command jumps the cursor backward through the jump list, returning you to previous cursor positions.
''
When you jump around a file, Vim tracks prior locations.
navigation #navigation #motions #marks #jumplist #normal-mode
mA / 'A
Uppercase marks (A-Z) are global marks — they remember not only the line and column position, but also the file where they were set.
navigation #navigation #marks #normal-mode #buffers #productivity
:djump /MY_MACRO/
:djump searches for matches using Vim's definition search rules and jumps to the selected hit.
`"
The " mark is an automatic mark Vim sets whenever you leave a buffer — switching to another file, hiding the buffer, or quitting Vim (with viminfo/shada enabl
*Ndgn
When you are reviewing repetitive text, you often need to remove one specific match without running a broad substitute.
:set matchpairs+=<:>
By default, the % command jumps between (), {}, and [] pairs.
config #navigation #config #matchpairs #editing #normal-mode
[[
The [[ and ]] commands navigate between top-level code blocks — specifically, lines where { appears in column 1.
/{pattern}
The / command initiates a forward search in the file.
{count}n
Like most Vim motions, the n and N search repeat commands accept a count prefix.