First create a script svbdiff inside the ~/.vim/scripts/ directory that contains the following #!/bin/bash shift 5;/usr/bin/vimdiff -f "$@" and make it executable: chmod +x ~/.vim/scripts/svndiff Then create an alias in your ~/.bashrc file like: alias svndiff="svn diff --diff-cmd ~/.vim/scripts/svndiff" Now you can go to any Subversion repository and display file differences with svndiff h264.c Th
![Use vimdiff as Subversion diff command](https://cdn-ak-scissors.b.st-hatena.com/image/square/2d5902ab5670f4eef29fb57ba42f574235f47052/height=288;version=1;width=512/http%3A%2F%2F1.bp.blogspot.com%2F_99Fzui5MBLY%2FSO4HP94JMfI%2FAAAAAAAAAMg%2FS3TbtGtic1E%2Fw1200-h630-p-k-no-nu%2Fvimdiff.png)