How do I move backward to the end of the previous word?
ge
The ge motion moves the cursor backward to the end of the previous word.
ge
The ge motion moves the cursor backward to the end of the previous word.
<C-o> and <C-i>
Vim maintains a jump list of positions you have visited.
F{char}
The F command moves the cursor backward to the previous occurrence of a specified character on the current line.
]s and [s
How it works When spell checking is enabled in Vim with :set spell, misspelled words are highlighted.
gD
How it works Vim provides two built-in commands for jumping to where an identifier is defined, without needing tags or an LSP: gd (lowercase) searches backward
:changes
How it works Vim maintains a change list that records the position of every change you make to a buffer.
:jumps
How it works Vim keeps a jump list that records your cursor position every time you make a jump.
( and )
How it works Vim defines a sentence as text ending with .
zj and zk
How it works When working with folded code in Vim, you often want to skip from one fold to another without unfolding anything.
<C-f> to scroll forward, <C-b> to scroll backward
How it works Vim provides two commands for scrolling by an entire screen (page) at a time: Ctrl-F (Forward) scrolls the view one full page down through the file
W, B, and E
How it works Vim distinguishes between two types of word objects: A word (lowercase w, b, e) is a sequence of letters, digits, and underscores, or a sequence of
M to move to the middle, L to move to the bottom
How it works Vim offers three commands to jump the cursor to specific vertical positions on the visible screen without scrolling: H moves to the top of the scre
<C-]> / <C-t>
The command jumps to the definition of the keyword under the cursor using a tags file, and jumps back.
/pattern/+N or /pattern/-N
Vim's search command accepts an offset that places your cursor on a line relative to the match.
<C-o> / <C-i>
Vim maintains a jumplist — a history of every "jump" you make (searches, marks, gg, G, %, etc.
{N}|
The command (pipe character) moves the cursor to a specific column number on the current line.
zt / zb
The zt and zb commands scroll the viewport so the current cursor line appears at the top or bottom of the screen respectively, without moving the cursor.
gx
The gx command opens the URL, file path, or identifier under the cursor using the system's default handler.
navigation #navigation #netrw #workflow #browser #normal-mode
gj / gk
When a long line wraps across multiple screen rows, the regular j and k motions skip the entire logical line.
( / ) / { / }
Vim treats sentences and paragraphs as first-class navigation units.
navigation #navigation #motions #text-objects #prose #editing