vim: undo

This commit is contained in:
Michael Grote 2023-06-18 22:16:41 +02:00
parent da878c299c
commit 7d3190008c

16
.vimrc
View file

@ -214,14 +214,14 @@ nnoremap <Leader>u :UndotreeToggle<CR>
" https://www.reddit.com/r/vim/comments/13gk0nl/is_there_a_way_to_make_undo_sensible/
" create undo points when
" typing these keys
inoremap , ,<c-g>u
inoremap . .<c-g>u
inoremap ( (<c-g>u
inoremap [ [<c-g>u
inoremap = =<c-g>u
inoremap \" \"<c-g>u
inoremap <space> <space><c-g>u
inoremap <CR> <CR><c-g>u
" inoremap , ,<c-g>u
" inoremap . .<c-g>u
" inoremap ( (<c-g>u
" inoremap [ [<c-g>u
" inoremap = =<c-g>u
" inoremap \" \"<c-g>u
" inoremap <space> <space><c-g>u
" inoremap <CR> <CR><c-g>u
" ### Abbreviations
iabbrev ncicht nicht