diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-21 01:53:20 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-21 01:53:20 +1200 |
commit | da7378321ccb5ac3fd2d5b49347d74f995290fac (patch) | |
tree | da0c4bd4b124fc6d74b5916d654e45d9e7ab0f1d /vim/vimrc | |
parent | Overhaul .vimrc for maximum vim-tiny support (diff) | |
download | dotfiles-da7378321ccb5ac3fd2d5b49347d74f995290fac.tar.gz dotfiles-da7378321ccb5ac3fd2d5b49347d74f995290fac.zip |
Suppress insert_cancel.vim map if not &loadplugins
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -178,7 +178,9 @@ 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 -imap <C-C> <Plug>(InsertCancel) +if &loadplugins + imap <C-C> <Plug>(InsertCancel) +endif " Map double Ctrl-K in insert mode to search digraph names imap <C-K><C-K> <Plug>(DigraphSearch) |