Friday, July 19, 2013

Re: Bug in opening partial path on windows (using '/' instead of '\'

On Friday, July 19, 2013 5:07:11 AM UTC-5, Linda W wrote:
> I set the 'shellslash' option so vim would know I'm using
> a unix-like shell, but it doesn't help.
>
> When I am in a subdirectory ...
>
> gvim fb17X/content/firebug/chrome.js
>
> I end up with "fb17X/content/firebug/chrome.js" [New DIRECTORY]
>
> instead of the file i want.
>
> I have to remember to put in $PWD/rest-of-path> and then it picks
> up the right location.
>

I've never seen that problem, and I use shellslash in my config.

Does it work with launching Vim as follows?

gvim -N -u NONE -U NONE -i NONE --cmd "set shellslash" fb17X/content/firebug/chrome.js

I know that the 'shellslash' option can make shellescape() do bad things on Windows, and it makes paths copied from Vim or passed to shell commands sometimes fail, but I don't know of any other ill effects.

--
--
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/groups/opt_out.

No comments:

Post a Comment