vi common commands

Window commands
:split <FILENAME> splits screen
:vsplit <FILENAME> splits vertical 

use CTRL-W and arrows to navigate windows
copy paste commands
press number of lines to copy then yy dd to cut
5 yy copies 5 lines from cursor
press p to paste
indent multiple lines
press v for visual mode then select lines and press > or <