mirror of
https://github.com/tpope/vim-sensible.git
synced 2025-11-14 22:13:47 -05:00
Break undo before delete word
Closes https://github.com/tpope/vim-sensible/issues/161
This commit is contained in:
@@ -90,6 +90,11 @@ if !exists('g:loaded_matchit') && findfile('plugin/matchit.vim', &rtp) ==# ''
|
|||||||
runtime! macros/matchit.vim
|
runtime! macros/matchit.vim
|
||||||
endif
|
endif
|
||||||
|
|
||||||
inoremap <C-U> <C-G>u<C-U>
|
if empty(mapcheck('<C-U>', 'i'))
|
||||||
|
inoremap <C-U> <C-G>u<C-U>
|
||||||
|
endif
|
||||||
|
if empty(mapcheck('<C-W>', 'i'))
|
||||||
|
inoremap <C-W> <C-G>u<C-W>
|
||||||
|
endif
|
||||||
|
|
||||||
" vim:set ft=vim et sw=2:
|
" vim:set ft=vim et sw=2:
|
||||||
|
|||||||
Reference in New Issue
Block a user