* Joseph <kingcanut...@gmail.com> [200821 12:50]: > Hello, I am using vim 8.1.1 on Windows 10 on a network where we have > network drives as our home directory: H:. I still have a directory on the C > drive C:\Users\<username> > > I am trying to set the cdpath variable to the following: > set cdpath=.,H:\,C:\Users\<username>\Downloads\ > > The problem is that this becomes > cdpath=.,~,~\Downloads\ > > If I change my HOME environment variable to C:\Users\<username> it mostly > works, but of course I want to leave the network drive as the home > directory. Is there a way to force vim to use the fully qualified path > names instead of automatically transforming them to ~. > > I believe, though I am not certain, that this worked with vim 8.0.
I'm not sure, but at first glance, this seems like a bug to me. Vim should not change both "H:\" and "C:\Users\<username>" to "~" when parsing cdpath. I assume you are setting this in your vimrc? What does Vim think your $HOME is immediately before setting cdpath (try adding echo $HOME immediately before your cdpath command). I'm adding vim_dev to CC; perhaps someone there can give a more definite answer. ...Marvin -- -- You received this message from the "vim_dev" 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_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/20200821175454.fovx5k4fwm5b52hb%40basil.wdw.