Browse Source

Specify temp file for vim

DricomDragon 5 years ago
parent
commit
b864c6d611
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Install/Templates/vimrc

+ 1 - 0
Install/Templates/vimrc

@@ -121,6 +121,7 @@ else
   set backup " keep a backup file (restore to previous version)
   set backup " keep a backup file (restore to previous version)
   if has('persistent_undo')
   if has('persistent_undo')
     set undofile " keep an undo file (undo changes after closing)
     set undofile " keep an undo file (undo changes after closing)
+    set undodir=/tmp/
   endif
   endif
 endif
 endif