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.
}
The } motion moves the cursor forward to the next blank line, effectively jumping to the next paragraph.
)
The ) motion moves the cursor to the beginning of the next sentence.
:<line-number>
When you know the exact line number you want to navigate to, the colon command is the quickest way to get there.
{
The { motion moves the cursor backward to the previous blank line, jumping to the beginning of the current or previous paragraph.
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.
let g:netrw_liststyle=3 and let g:netrw_banner=0
How it works Vim ships with a built-in file explorer called netrw that you can access with :Explore (or :Ex).
:set splitbelow splitright
How it works By default, Vim opens horizontal splits (:split or :sp) above the current window and vertical splits (:vsplit or :vsp) to the left.
:set showmatch
How it works The :set showmatch option makes Vim briefly jump the cursor to the matching opening bracket when you type a closing bracket.
:set mouse=a
How it works The :set mouse=a command enables mouse support in all Vim modes.
:set wrap! or :set nowrap
How it works By default, Vim wraps long lines that extend past the window width, displaying them across multiple screen lines.
[I
How it works The [I command searches the current file (and included files) for the word under the cursor and displays a list of all matching lines with their li
]s and [s
How it works When spell checking is enabled in Vim with :set spell, misspelled words are highlighted.
q/
How it works Vim keeps a history of all your search patterns.
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.