From 62e3b6db3f63d02dc4e47fe7cc4d56b1f2d4b9ef Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Tue, 28 Jun 2011 11:40:13 +0100 Subject: [PATCH] Map q to quit easily when submitting p4 and svn. --- .vim/script/p4 | 2 ++ .vim/script/svn | 2 ++ 2 files changed, 4 insertions(+) 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 -- 2.7.4