From da7378321ccb5ac3fd2d5b49347d74f995290fac Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 21 Jul 2018 01:53:20 +1200 Subject: Suppress insert_cancel.vim map if not &loadplugins --- vim/vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vim/vimrc b/vim/vimrc index 3babbf2d..49a1e2e6 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -178,7 +178,9 @@ nnoremap :nohlsearch vnoremap :nohlsearchgv " Remap insert Ctrl-C to undo the escaped insert operation -imap (InsertCancel) +if &loadplugins + imap (InsertCancel) +endif " Map double Ctrl-K in insert mode to search digraph names imap (DigraphSearch) -- cgit v1.2.3