Just some commands that I did not know for awhile.
These are explained more in this video
(Formatting on this is not great, copied it directly from text file - sorry 😢)
gi
go the the place last insertedg;
g,
keep searching-
gv
go to last visual -
y/search
yank up to search, can delete and change withd/search
andc/search
-
*
#
Search for a word under cursor- Forward/backward respectively
-
ctrl + [
for escape -
{}
paragraph movement -
~
change a characters case gUw
change word to upper case-
guw
change word to lower case -
ctrl a/x
increase/decrease a number -
zt
down so current line is at the top -
zz
to centre -
gj
gk
go up /down long text on 1 lineg$
same thing but go to end of long linegq
break up long lines