Improve Ctrl+C undo 💢
This commit is contained in:
parent
fb45dce089
commit
a4ad2e2639
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
||||||
inoremap u
|
|
||||||
augroup train
|
augroup train
|
||||||
|
autocmd!
|
||||||
au BufWritePost * echom 'Really tho?'
|
au BufWritePost * echom 'Really tho?'
|
||||||
|
au InsertEnter * let b:undo=undotree()['seq_last']
|
||||||
augroup END
|
augroup END
|
||||||
|
inoremap :silent exec 'undo '.b:undo<CR>
|
||||||
|
|
Loading…
Reference in a new issue