Some vim tips
Wednesday, October 22nd, 2008svn diff the current windows file
Put this in your vimrc:
map zs :!svn diff % > /tmp/vimsvndiff<CR><CR>
\ :new<CR>:r /tmp/vimsvndiff<CR>
\ :set ft=diff<CR>
Say you’re editing a checked out file and what to see what changes you’ve done without leaving your VIM session? Just type zs when in normal mode. This will open the diff in a new split […]
