From 886c74a210d0ca5f04fa4010fddfc51171d1d9ce Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 29 Jun 2016 10:48:54 +0200 Subject: vim: use as an escape too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- vimrc | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/vimrc b/vimrc index 3a120e1..18c6b4e 100644 --- a/vimrc +++ b/vimrc @@ -149,10 +149,15 @@ nnoremap @q " Pressing ^ in order to move to the first non-blank character is inconvenient. nnoremap , ^ -" Do nothing when is pressed. Why would I want to stop the current `vim` -" process ? (especially shitty if you miss useful commands like ...). -nnoremap -inoremap +" The default behavior for is simply useless: why would I want to stop +" the current `vim` process ? (especially shitty if you miss useful commands +" like ...). +" +" Before I was remapping this to , but since switching to Emacs, I've +" started to use as escape there in order to not overlap with an +" extremely used prefix. For consistency's sake, I'm also applying this to Vim. +nnoremap +inoremap " Do nothing for the command. I never use it and it appears when I " misstype . -- cgit v1.2.3