Update vim/.vimrc

This commit is contained in:
Johannes Merz 2024-03-03 00:40:01 +01:00
parent 726f3e2f19
commit 6926ff56e9
1 changed files with 3 additions and 0 deletions

View File

@ -386,3 +386,6 @@ au FileType markdown vmap <Leader>a :EasyAlign*<Bar><Enter>
" unlimited undos even between closing and opening the editor
set undofile
set undodir=~/.vim/undodir
" correct yaml settings
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab