vim tips and tricks

word & line completion

Typing is a pain! In insert mode, try:

ctrl-n, ctrl-p    - next/previous word completion 
                    (similar word in current file)

ctrl-x ctrl-l (ctrl-n/p)    - line completion

:set dictionary=/usr/share/dict/words
ctrl-x ctrl-k     - dictionary completion

also

ctrl-w      - erases word (insert mode...
ctrl-u      - erases line  ...or on command line)