in your .vimrc file:
set ts=4 'set tab spacing to 4

reformat your code:gg=G

Convert a visual selection to uppercase: gU

Convert a visual selection to lowercase: gu

 
spell check: 
set spell
set nospell
]s: next
[s: previous
zg: add to dictionary
zug: undo add
z=: view suggestions
 
\c: case-insensitive search
\C: case-sensitive search
%s/\([0-9]\+\)$/\1 > \1.arff/g