aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vimrc-full2
1 files changed, 2 insertions, 0 deletions
diff --git a/vimrc-full b/vimrc-full
index dcc5b76..63a1e17 100644
--- a/vimrc-full
+++ b/vimrc-full
@@ -27,6 +27,8 @@ endif
27if has('persistent_undo') 27if has('persistent_undo')
28 if isdirectory('/dev/shm') 28 if isdirectory('/dev/shm')
29 set undodir=/dev/shm/ | " save undo file in memory. That is volatile, but fast and we have GIT for longer lasting undos 29 set undodir=/dev/shm/ | " save undo file in memory. That is volatile, but fast and we have GIT for longer lasting undos
30 set directory=/dev/shm/ | " swap file directory to RAM
31 set swapfile
30 elseif isdirectory('/tmp/') 32 elseif isdirectory('/tmp/')
31 set undodir=/tmp/ 33 set undodir=/tmp/
32 endif 34 endif
..