skip to content
This content is private
Wrong password
2026-03-19, Thursday
- Attend GTC
- Go to Zara
- Have dinner with Richard
-
:w Write (Save)
-
:q Quit
-
:q! Force quit
-
:wq Write (Save) and Quit
-
h left
-
l right
-
j down
-
k up
-
{%n}{%someKey} repeat a key n times
-
$ end of line
-
^ first non-blank
-
0 start of line
-
f find
-
F reverse find
-
t find till
-
T reverse find till
-
w start of next word
-
b start of previous word
-
e end of next word
-
W start of next word including symbols
-
B start of previous word including symbols
-
E end of next word including symbols
-
{ previous paragraph
-
} next paragraph
-
gg first line of the file
-
G last line of the file
-
{%n}G go to line n
-
H first line visible (not enabled in lazyvim)
-
M middle line visible
-
L last line visible (not enabled in lazyvim)
-
zz center this line
-
zt top this line
-
zb bottom this line
-
C-y scroll up
-
C-e scroll down
-
% jump between braces
-
[{ go to opening {
-
]} go to closing }
-
[% go to opening braces
-
]% go to closing braces
-
/ search
-
* search current word
-
?
-
C-o previous position in jump list
-
C-i next position in jump list
-
i insert mode
-
<ESC> exit insert mode
-
a append
-
A append at the end of line
-
o open a line under the cursor
-
O open a line above the cursor
-
u undo
-
C-r redo
-
y yank (copy)
-
d delete with copy
-
c change (delete + insert) with copy
-
yy copy the line
-
dd delete the line with copy
-
cc delete the line with copy
-
i inside
-
a around
diw delete inside word
daw delete around word
di( delete inside or next ()
da( delete around or next ()
-
p paste after the cursor
-
P paste before the cursor
-
. repeat previous
-
v visual mode
-
:%s/oldText/newText/g replace
-
:%s/oldText/newText/gc replace with confirmation