vi guide

insert mode

i

: enter insert mode at cursor

a

: enter insert mode after chacter

command mode

ESC

: enter command mode

/regex

: search forwards through file

?regex

: search backwards thfile

s/theoug/through /
n

: next occurance of search term (forwards in file if

/
, backwards if
?
)
N

: previous occurance of search term (backwards in file if

/
, forwards if
?
)