> In _vimrc I first did:
>
> :set cd c:\vim-text
>
> However, it complained that it couldn't find this in cdpath: E344:
> Can't find directory "c:\vim-text" in cdpath.
>
> So, I tried, in several ways, to set cdpath in _vimrc, prior to the
> above ":set cd ...". There were no complaints about that statement,
> but I still got the same error msg as above re the ":set cd..."
>
> I did look at the :help for cdpath and path. Tried to use them as a
> model.
>
First, the help for 'cdpath' says: "..., provided that the
directory being searched
for has a relative path, not an absolute part" . I'm assuming
* c:\ implies that you're on windows, not on linux looking for a
path such as /some/path/c:\vim-text
Other than that the cdpath doesn't apply to absolute paths, if it did,
you'd want
:set cd=c:\vim-text
By putting that extra space in there Vim assumes you're attempting to
set two options; you should be getting
E518: Unknown option: c:\vim-text
when you try it.
Regards,
Chip Campbell
--
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
No comments:
Post a Comment