Monday, February 15, 2021

Upgrade to recent version broke vimrc -- doesnt recognize unix style environmental variables

I was working in vim and tried to sort something. The sort didn't work as I expected.

I thought I would upgrade to version 8.0 in the hopes that would fix it. The upgrade gave me a new problem.

in my vimrc there was the line

set backupdir=$HOME/vim/backup  

This no longer works and yields the dreaded "E303: Unable to open swap file"

I fixed it this way

set backupdir=c:\\Users\\myuser\\Documents\\home\\vim\\backup,c:\\TMP  


Regards Tom Bodine

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAAkesHmPF8PfkFGV6s%3DmHh%2BiO-pZbLdUuxR8rRGamoa4gqQkUw%40mail.gmail.com.

No comments:

Post a Comment