Thursday, October 18, 2012

Re: Vim under cygwin

On 17 Oct 2012, at 18:19, Gary Johnson wrote:

> On 2012-10-17, Andrew Long wrote:
>> On 12 Jul 2012, at 17:06, Andrew Long wrote:
>
>>> Begin forwarded message:
>>>
>>>> From: "Long, Andrew"
>>>> Subject: Vim under cygwin
>>>> Date: 12 July 2012 10:18:32 GMT+01:00
>>>> To: andrew...
>>>>
>>>>
>>>> 0126792@XP037234 ~/NRock/Projects/dbJnlStats/working
>>>> $ vim -gS Session.vim
>>>> cygwin warning:
>>>> MS-DOS style path detected: C:\winnt\profiles\0126792\vimfiles\plugin
>>>> Preferred POSIX equivalent is: /home/0126792/vimfiles/plugin
>>>> CYGWIN environment variable option "nodosfilewarning" turns off this
>>>> warning.
>>>> Consult the user's guide for more details about POSIX paths:
>>>> http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
>>>>
>>>> 0126792@XP037234 ~/NRock/Projects/dbJnlStats/working
<snip/>
>
> I have such symlinks in place, too, for just that purpose and have
> never had a problem. Perhaps you used a Windows-style path name
> when you created the symlink from ~/.vim. That, "ls -d ~/.vim"
> should have shown something like this,
>
> /home/0126792/.vim -> /cygdrive/c/winnt/profiles/0126792/vimfiles
>
> and I'll be it looked like this instead,
>
> /home/0126792/.vim -> C:\winnt\profiles\0126792\vimfiles

Hi Gary

I don't *recall* seing anything like that; I'll have a play when I'm back at work tomorrow.

I certainly created simple symlinks in the current directory by just doing:-

ln -s vimfiles .vim

and similarly for the xxxrc files.

Regards, Andy
--
Andrew Long
andrew dot long at mac dot com





--
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: