Hiya,

Would it be a bad idea to set vim's tmp dir to be
a 700 mode user directory below /tmp/vi.recover?

There's this in /etc/rc: /usr/libexec/vi.recover


Here's what I've got at the moment:

$ printenv VIM_TMP
/tmp/$USER/vim//

$ fgrep -i tmp /etc/vim/vimrc
set directory=$VIM_TMP,/tmp//
set backupdir=$VIM_TMP,/tmp//
set undodir=$VIM_TMP,/tmp//

Which gets nuked on boot.

Some users' $HOME is either not writable or non-existant.

Plus I don't want to dump(1) junk on /home

Setting VIM_TMP to /tmp/vi.recover/$USER// seems appealing.


Here are some vim docs I found:
http://vimdoc.sourceforge.net/htmldoc/recover.html
http://vimdoc.sourceforge.net/htmldoc/usr_11.html

Thoughts?
-- 
Death is nature's way of telling you to slow down.

Reply via email to