From: Iain Patterson Date: Tue, 28 Jun 2011 10:40:13 +0000 (+0100) Subject: Map q to quit easily when submitting p4 and svn. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=62e3b6db3f63d02dc4e47fe7cc4d56b1f2d4b9ef;p=profile.git Map q to quit easily when submitting p4 and svn. --- diff --git a/.vim/script/p4 b/.vim/script/p4 index 56958f8..75dace6 100644 --- a/.vim/script/p4 +++ b/.vim/script/p4 @@ -49,6 +49,8 @@ fun! P4submit() set bufhidden=hide setlocal noswapfile file [p4 diff\] + " Map q to quit easily. + noremap q q " Switch back to the top window and put the cursor by the description. wincmd k diff --git a/.vim/script/svn b/.vim/script/svn index d5244fb..152d2c9 100644 --- a/.vim/script/svn +++ b/.vim/script/svn @@ -24,6 +24,8 @@ fun! SVNcommit() set bufhidden=hide setlocal noswapfile file [svn diff\] + " Map q to quit easily. + noremap q q " Switch back to the top window. wincmd k