) moves to next sentence :# where # is a number moves to that line zz set current line at centre of window (z. also works) #iA ~ repeats character A # times Vy ~ enters visual block mode and yanks a line >> ~ tabs a line #>> ~ tabs # lines >% ~ tabs an entire bracketed section (note cursor must be on { }) =% ~ indents the block (note cursor must be on { }) J appends two lines by removing new line G moves to end of the file O inserts space above line and enters insert mode o inserts space below line and enters insert mode cw deletes word keeping a space and enters insert mode C deletes sentence to end of line and enters insert mode D deletes sentence to end of line diw to delete the current word (doesn't include spaces) daw to delete the current word (includes spaces) viB selects block of code between {} vib selects block of code between () when inbetween ()a vi' selects block of text between ' vi" selects block of text between " vi{char} selects characters between char g+{j,k} moves the cursor up and down in long lines to comment out multiple lines do the following: ctrl v to enter visual line mode IA to insert character in front of every line :! allows you run commands from within vim :vsplit file ~ splits the files vertically :split file ~ splits the files horizontally :/$STRING searchs for stuff :nohls clears the highlighted stuff CTRL-N to insert the next matching word {number}CTRL-A increases number by number. If no number, increases by 1 {number}CTRL-X decreases number by number. If no number, decreases by 1 works on the first number in a line ~~Folding~~ zf ~ folds selected text zM ~ closes fold zo ~ opens fold :mkview ~ saves fold :loadview ~ loads fold ~~Spell Check~~ :set spell ~ loads spellcheck :set nospell ~ turns off spellcheck ]s ~ searches for next word [s ~ searches for previous word z= ~ suggest spelling zg ~ add word to dictionary