Sam Stites

Vim to remember

January 19, 2016

It’s easy to get stuck doing only what you already know in vim, so here are some from vimgolf – which I highly recommend – that I’ve found pretty cool:

  • . repeat the insert-mode command from normal-mode
  • <C-@> is a null character, apparently - but it also seems to repeat the last added character. Like . when in insert-mode.
  • ctags will let you use <C-]> to jump to definitions across a project!
  • also under ctags; use <C-t> go to cursor location before the last tag jump