Fish Touching🐟🎣

Vim

Apr 3, 2023

# Vim

# Text

# Windows

CTRL-W= equal size
CTRL-W- decreases the current window
:vsp vertically split windows
:e edit new file in current buffer
<C-^> quickly switch buffer (this and before, only 2 buffers will be loaded)

# Dot .

Can be used only after text is changed

# Macros

Macros | Vim Tips Wiki | Fandom
q<letter><commands>q where letter is a-z
<number>@<letter> to use

# Movements

JK move 5 lines
R replace more char
HL move to beginning or end, equivalent to ^$

# Indent

<G / >G to indent (. to repeat)

# Tricks