If you don't want Vim saving the swapfile in the same directory as the
file being edited, then configure it not to.  For example, I have the
~/.vim/tmp as the first directory Vim tries to store swapfiles in by
adding the following line to my ~/.vimrc:

  set directory^=~/.vim/tmp  " Prepend ~/.vim/tmp to the list of
directories used

Or you could simply set directory to a specific directory you always
want Vim to use.

You could also set mutt's tmpdir to be something other than /tmp (like
~/tmp).

I don't see how you not configuring mutt or Vim to behave how you want
is a bug in either application.

-- 
Cannot recover unsaved email after system crash
https://bugs.launchpad.net/bugs/11899
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to