How do I jump forward by paragraph in Vim?
}
The } motion moves the cursor forward to the next blank line, effectively jumping to the next paragraph.
953 results for ":normal"
}
The } motion moves the cursor forward to the next blank line, effectively jumping to the next paragraph.
ce
The ce command changes from the cursor position to the end of the current word.
)
The ) motion moves the cursor to the beginning of the next sentence.
diw
The diw command deletes the inner word under the cursor.
``
The double backtick jumps to the exact position before the last jump.
m{A-Z}
Uppercase marks (A-Z) are global marks that remember both the file and the cursor position.
ciw + new text + Esc, then n.
The ciw command followed by new text, combined with and .
u
The u command undoes the last change you made in normal mode.
<C-f> (in command line)
Pressing while you are already typing in the Vim command line (:), search line (/ or ?), or input prompt switches you into the command-line window with the curr
command-line #command-line #ex-commands #editing #normal-mode
ggVG
While Vim doesn't have a built-in "entire buffer" text object, the ggVG sequence achieves it: go to the first line, enter line-wise visual mode, then select to
:keepjumps
When writing scripts or running commands that move the cursor (like :g, :s, or :normal), Vim normally adds each cursor position to the jump list.
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
5:
Typing a count before : in normal mode automatically fills in a line range in the command line.
command-line #command-line #ex-commands #ranges #normal-mode
zb
The zb command redraws the screen with the current line at the bottom of the window.
<C-t>
The command pops the tag stack and returns to the position from which you last used or :tag.
+ and -
The + and - motions jump to the first non-blank character of the next or previous line respectively — combining vertical movement and ^ into a single, count-a
<C-w>H
The H command moves the current window to the far left, making it a full-height vertical split.
:put =''
Using :put ='' with an empty expression lets you insert blank lines in normal mode without ever entering insert mode.
editing #editing #normal-mode #ex-commands #expression-register #blank-line
ciw
The ciw command deletes the inner word under the cursor and drops you into insert mode so you can type a replacement.
/pattern/e
Search offsets let you place the cursor at a specific position relative to the match.