On 09/01/09 09:01, Hugo Ahlenius wrote:
> | vim \\computer\c$\test.txt
> | notepad \\computer\c$\test.txt
>
> Thanks everyone for input and comments. Using e.g. type.exe or notepad.exe
> is nearly instant, only vim is slow, so I am pretty sure it is vim related.
> Interesting is also that tab-completion of a filename on the :e prompt is
> fast, just the opening (and writing) is slow.
>
> But... I tried setting "shellslash" now, as suggested by BC - and that does
> it - then \\computer\c$\test.txt works, being translated as
> //computer/c$/test.txt
>
> With noshellslash (defaults) //computer/c$/test.txt is fast.
I guess the above is the way to do it. Forward slashes is the Vim
default; they are normally (i.e. with 'noshellslash', an option defined
only on Dos/Windows/OS2) translated to backslashes when passing a path
to a Dos-like shell.
>
> I would prefer to have windows/dos directory slashes, but I guess I could
> live with shellslash... !
>
> Since a few other people (Matthias Müller for one) are seeing the same
> problem, could this maybe be logged as a bug... ?
I'd call a feature (or a limitation depending on point of view), not a
bug. A feature because it means you can use forward slashes
cross-platform in Vim, an portability advantage for people who go
regularly from one platform to another. Working as portably as possible
on various platforms has always been one of the strong points of Vim.
Also an advantage for people who, like me, need an AltGr keychord to
type a backslash, hitting two keys simultaneously at opposite ends of
their national keyboard, but only a shift-chord, which can easily be
done with only the right hand, in order to type a forward slash.
>
> Thanks everyone!
>
> /Hugo
Best regards,
Tony.
--
"If just one piece of mail gets lost, well, they'll just think they
forgot to send it. But if *two* pieces of mail get lost, hell, they'll
just think the other guy hasn't gotten around to answering his mail.
And if *fifty* pieces of mail get lost, can you imagine it, if *fifty*
pieces of mail get lost, why they'll think someone *else* is broken!
And if 1Gb of mail gets lost, they'll just *know* that Arpa is down and
think it's a conspiracy to keep them from their God given right to
receive Net Mail ..."
-- Leith (Casey) Leedom
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---