mcst-linux-kernel/patches-2024.06.26/vim-9.0.1672/0004-set-undo-and-backup-di...

11 lines
397 B
Diff

diff -ruN vim-8.2.4788/runtime/vimrc_example.vim vim-8.2.4788-patch/runtime/vimrc_example.vim
--- vim-8.2.4788/runtime/vimrc_example.vim 2022-04-26 15:27:39.254248730 +0300
+++ vim-8.2.4788-patch/runtime/vimrc_example.vim 2022-04-26 15:31:51.155408175 +0300
@@ -41,3 +41,6 @@
if has('syntax') && has('eval')
packadd! matchit
endif
+set backupdir=/tmp/
+set directory=/tmp/
+set undodir=/tmp/