X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.vim%2Fscript%2Fsvn;h=bb05173cf5dedc44dd2318ec8ba64b47f242b20b;hb=719ead9b34472b47fc4721e304f7ce0b703f94c4;hp=175f4fbab3ae096cda04b88e626a8b57eb91a020;hpb=76559e10296433ab488b9d9940c50a39282ee49a;p=profile.git diff --git a/.vim/script/svn b/.vim/script/svn index 175f4fb..bb05173 100644 --- a/.vim/script/svn +++ b/.vim/script/svn @@ -23,7 +23,7 @@ fun! SVNcommit() set buftype=nowrite set bufhidden=hide setlocal noswapfile - file [svn diff] + file [svn diff\] " Switch back to the top window. wincmd k @@ -33,9 +33,6 @@ endfun let s:cmdheight = &cmdheight se cmdheight=3 -" Change directory so "file [svn diff]" doesn't try to cd somewhere. -cd / - " Call and then discard our function. call SVNcommit() delfunction SVNcommit