aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-11-29 23:58:12 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-11-30 00:01:12 +1300
commit3fcda2fcc5dc783e6e48710d928437c0ce4509cf (patch)
tree4af1f99fc88b1a3b51f7f68661acdca960751f44
parent7fed281d49ee41a15a1c2c6e9d565e264a0abf1d (diff)
downloaddotfiles-3fcda2fcc5dc783e6e48710d928437c0ce4509cf.tar.gz
Comment conditional set of <Plug>(InsertCancel)
-rw-r--r--vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 27c4d3e5..d8832fb7 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -223,7 +223,7 @@ nnoremap <silent> <C-L> :<C-U>nohlsearch<CR><C-L>
vnoremap <silent> <C-L> :<C-U>nohlsearch<CR>gv<C-L>
" Remap insert Ctrl-C to undo the escaped insert operation
-if &loadplugins
+if &loadplugins " Don't break the key if we won't be getting the plugin
imap <C-C> <Plug>(InsertCancel)
endif