From: Iain Patterson Date: Mon, 27 Jan 2014 16:59:04 +0000 (+0000) Subject: More incorrect uses of noremap. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=0897bbd45d9649a23a819291f7ab769c563648d1;p=profile.git More incorrect uses of noremap. Normal commands should be mapped with nnoremap not noremap. --- diff --git a/.vim/script/p4 b/.vim/script/p4 index 7aa16ba..4badc84 100644 --- a/.vim/script/p4 +++ b/.vim/script/p4 @@ -50,7 +50,7 @@ fun! P4submit() setlocal noswapfile file [p4 diff\] " Map q to quit easily. - noremap q q + nnoremap q q " Vim 7.4 really doesn't want us to quit windows from a script. try diff --git a/.vim/script/svn b/.vim/script/svn index 7b4da64..223d0f0 100644 --- a/.vim/script/svn +++ b/.vim/script/svn @@ -25,7 +25,7 @@ fun! SVNcommit() setlocal noswapfile file [svn diff\] " Map q to quit easily. - noremap q q + nnoremap q q " Vim 7.4 really doesn't want us to quit windows from a script. try