diff options
author | Max Christian Pohle | 2017-08-29 00:28:32 +0200 |
---|---|---|
committer | Max Christian Pohle | 2017-08-29 00:28:32 +0200 |
commit | 4afcd2c0bb7aa768f42ebbf5b5ef70fcc563aeba (patch) | |
tree | 0a8c2958b7d2823032bdc7923390d3997a69690f | |
parent | 74dd0862cd02abee851328caf74194973ee035af (diff) | |
download | vim-karlmarks-4afcd2c0bb7aa768f42ebbf5b5ef70fcc563aeba.tar.bz2 vim-karlmarks-4afcd2c0bb7aa768f42ebbf5b5ef70fcc563aeba.zip |
Trying to improve speed by using random access mem
-rw-r--r-- | vimrc-full | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -27,6 +27,8 @@ endif | |||
27 | if has('persistent_undo') | 27 | if 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 |