R Overwrite text, press <Esc> to end
:set nu Display line numbers
G Go to last line of the file :n Go to line with this number (:10 goes to line 10)
% Move to matching bracket: ( { [ ] } )
/pattern/ forward to pattern
/text Search forward (down) for text (text can include spaces and characters with special meanings.) ?text Search backward (up) for text n Repeat last search in the same direction N Repeat last search in the opposite direction