Tip I enjoyed today: python in vim, how cool is that!?

For those who like vim but not the vim script language, try :help python.

Example:
:py import vim
:py [vim.current.buffer.append(str(e)) for e in xrange(10)]

Advertisements