Thursday, November 13, 2008

SVN commands + vim

in .bashrc:

function svnvim
{
# 9 params will be enogh
svn $1 $2 $3 $4 $5 $6 $7 $8 $9 > /tmp/svnvim.$1 ; vim /tmp/svnvim.$1
}


example of usage:

svnvim diff [param]
then is colourized
(if colours are set in vim).

another usage:
svnvim log
svnvim info
svnvim stat

(just remembered vi command inside sybase isql :) )

No comments: