aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2017-08-29 00:28:32 +0200
committerMax Christian Pohle2017-08-29 00:28:32 +0200
commit4afcd2c0bb7aa768f42ebbf5b5ef70fcc563aeba (patch)
tree0a8c2958b7d2823032bdc7923390d3997a69690f
parent74dd0862cd02abee851328caf74194973ee035af (diff)
downloadvim-4afcd2c0bb7aa768f42ebbf5b5ef70fcc563aeba.tar.bz2
vim-4afcd2c0bb7aa768f42ebbf5b5ef70fcc563aeba.zip
Trying to improve speed by using random access mem
-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
..