From 9252e6ffc5f1c80f45ac8d18d16306d31fffce15 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 8 Jul 2018 03:41:30 +1200 Subject: Arrange for Ctrl-C to remap over Escape This way, InsertLeave actually gets fired. --- vim/vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vim/vimrc') diff --git a/vim/vimrc b/vim/vimrc index d4989489..efea641d 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -167,9 +167,9 @@ endif nnoremap :nohlsearch vnoremap :nohlsearchgv -" Stack insert Ctrl-C to undo the escaped insert operation +" Remap insert Ctrl-C to undo the escaped insert operation " Default to not-quite-correct vim-tiny-compatible map if no plugin -inoremap InsertCancel u +inoremap InsertCancel u imap InsertCancel " Remap normal J to stay in place while joining lines -- cgit v1.2.3