Map q to quit easily when submitting p4 and svn.
[profile.git] / .vim / script / svn
index d5244fb..152d2c9 100644 (file)
@@ -24,6 +24,8 @@ fun! SVNcommit()
   set bufhidden=hide
   setlocal noswapfile
   file [svn diff\]
+  " Map q to quit easily.
+  noremap <silent> <buffer> q <C-W>q
 
   " Switch back to the top window.
   wincmd k