If you place the following three lines in your ~/.vimrc, vim will never use /tmp
set backupdir=~/.vim/backup set viewdir=~/.vim/views set directory=~/.vim/swap and also make sure that those directories exist: mkdir -p ~/.vim/{backup,views,swap} The behavior you cite in your bug report is the default functionality of the software and it is functioning as the author intended. This is not a bug. The configuration that I spoke of is how you change that default behavior. ** Changed in: vim (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/11899 Title: Cannot recover unsaved email after system crash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vim/+bug/11899/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs