ls -a
ls -l
ls -al
chmod
mv dir/file.c .
Create File from Template
cat <source> >> <Destination>
Indentation
gg=G
Search
/ forward
? backward
Find and Replace
:%s/word/replacement
/g - whole file
/gc - whole file with
Clear Line ^u : ctrl+u
Encrypt
:X
remove - :set key=
Change Case Visual Mode + u/U/~
Copy whole line Y
Paste
p - after cursor
P - before cursor
Markings
Mark, Jump, Previous
m {a-zA-Z}
backtick to move
Moving on screen
zz - middle
zt - top
zb - bottom
ctrl + U up
ctrl + D down
ctrl + y up without cursor
ctrl + e down without cursor
e - end of word
w - beginning of word
b - backward to beginning of word
0 - beginning of line
Delete
daw : delete the word under the cursor
caw : delete the word under the cursor and put you in insert mode