diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-02 11:02:25 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-02 11:02:25 +1200 |
commit | cbaa10e9f4b2708ad1733f06992e68cba9d04296 (patch) | |
tree | d280f62e5609a89a75d4cdfc09a6838fa283bac5 /vim/vimrc | |
parent | Clear away stock vim ftplugin's buffer maps (diff) | |
download | dotfiles-cbaa10e9f4b2708ad1733f06992e68cba9d04296.tar.gz dotfiles-cbaa10e9f4b2708ad1733f06992e68cba9d04296.zip |
Add insert_cancel.vim plugin and configuration
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -168,7 +168,9 @@ endif noremap <silent> <C-L> :<C-U>nohlsearch<CR><C-L> " Stack insert Ctrl-C to undo the escaped insert operation -inoremap <C-C> <C-C>u +" Default to not-quite-correct vim-tiny-compatible map if no plugin +inoremap <Plug>InsertCancel <C-C>u +imap <C-C> <Plug>InsertCancel " Remap normal J to stay in place while joining lines if &loadplugins |