http://www.vim.org/scripts/script.php?script_id=978
When you use 'svn commit' and it opens vim, it will show two windows: one with the normal SVN commit message, and the other with the output of 'svn diff', which is handy when you want to remember what you had changed.
A shortcut that is very handy to know for this is Ctrl+W+W (that is, hold Ctrl and hit w twice), which is to switch between vim windows.
To install it, just drop the script in ~/.vim/ftplugin, and make sure that your ~/.vimrc file has the following:
filetype plugin on
No comments:
Post a Comment