File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11" made by Michael Scherer ( misc@mandrake.org )
2- " $Id: svn.vim 146 2004-06-06 14:54:11Z misc $
3- " TODO - do not ask if the new buffer should be wrote
4- " on quit
2+ " $Id: svn.vim 282 2005-01-31 21:24:55Z misc $
3+ " TODO - rewrite in pure vim functions
4+ "
5+ " 2004-09-13 : Lukas Ruf ( lukas.ruf@lpr.ch )
6+ " - re-ordered windows
7+ " - set focus on svn-commit.tmp (that's where one has to write)
8+ " - set buffer type of new window to 'nofile' to fix 'TODO'
9+ "
10+ " 2005-01-31 :
11+ " - autoclose on exit, thanks to Gintautas Miliauskas ( gintas@akl.lt )
12+ " and tips from Marius Gedminas ( mgedmin@b4net.lt )
513"
614" to use it, place it in ~/.vim and add
715" au BufRead svn-commit.tmp source ~/.vim/svn.vim
@@ -31,7 +39,9 @@ vim.command("new")
3139win .height= len (win .buffer )+ 2
3240# use normal to remove annoying ' hit enter messages'
3341vim .command (" normal :r!svn diff " + list_of_files + " \n " )
34- vim .command (" set ft=diff" )
42+ vim .command (" set previewwindow ft=diff" )
43+ vim .command (" set buftype=nofile" )
44+ vim .command (" wincmd p" )
3545vim .command (" wincmd R" )
3646vim .command (' goto 1' )
3747
You can’t perform that action at this time.
0 commit comments