Saturday, August 30, 2014

set backupdir=~/.vim/backup//

In my vimrc, I have setup backupdir to be `set backupdir=~/.cache/vim/backup//,/var/tmp//,/tmp//`. The double slash does not seem to be working for 'backupdir', but it does work for 'undodir' and 'directory'.

Instead of seeing a file like `%home%user%foo%bar.txt~` in my ~/.cache/vim/backup directory, I am seeing simply bar.txt~. This can lead to conflicts.

Is this a vim bug or oversight, or have I configured something incorrectly?

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: