- Use the '0' command to jump to start of line, then 'w' to hop from word to word until you are at the place you want to be, then 'dw' to delete that word or 'cw' to change that word.
- Use 'qq' to start recording a macro, and a third 'q' to end it. Then typing '@Q' plays it back. Isn't it neat how you can just hold down the shift key for both keystrokes there?
Using vim with java: http://www.ophinity.com/papers/jim/
In vi, doing this get's you an interactive search and replace, just like emacs' query-replace-regexp:
This attached file Upload new attachment "newjava.vim" has some extras for editting java, including InsertBothGetterAndSetter, which is most useful. This file should be installed in your home directory as .vim/ftplugin/java.vim.