vim tips and tricks

markers

Use markers to set places you want to quickly get back to, or to specify a block of text you want to copy or cut.
 mk      - mark current position (can use a-z)
 'k      - move to mark k
 d'k     - delete from current position to mark k
 'a-z    - same file
 'A-Z    - beteween files