From 82414ab5b569de2503a759f22ad88f66132d0ef3 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Date: Mon, 17 Nov 2014 09:32:00 +0100 Subject: vim: do nothing when gets pressed in either normal or insert mode. It's extremely *shitty* that stops the current `vim` process. Why in seven hells would I want to do that ? This has bitten me in the ass a couple of times already when missing at pressing . --- vimrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 8670983..f44e20a 100644 --- a/vimrc +++ b/vimrc @@ -116,7 +116,7 @@ filetype indent plugin off source ~/.vim/bundles.vim " Enable plugins again. -filetype plugin indent on +filetype indent plugin on "" " Everything regarding filetypes: indentation rules, gofmt & friends. @@ -147,3 +147,8 @@ 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 + -- cgit v1.2.3