Re: cygwin, vim and paths
- Pritesh Mistry wrote:
> In this case "c:/cygwin" would be your "/" & in unix I think "/" can't haveln -s /cygdrive/c/usr /usr
> a parent directory, nor can it be changed! Hence, the use of the mapped
> directories. How about installing under "c:\" or creating an alias.
> Also, if you add "/"\bin to your path, you'd be able to use the unix tools
> under the command prompt itself (except for error message with vi/m - Can't
> write viminfo file $HOME/.viminfo! due to the way the env-var is accessed).
> > -----Original Message-----
> > From: Rene Nyffenegger [mailto:rene.nyffenegger@...]
> > Sent: Tuesday, January 23, 2001 6:47 pm
> > To: vim@...
> > Subject: cygwin, vim and paths
> > Hi
> > I compiled a recent vim (6.0r or so) version under cygwin but with
> > -DFEAT_GUI which
> > (as I believe) compiles a windows version for vim.
> > The problem is: If I use it under cygwin (beeing installed
> > under c:\cygwin)
> > and open a file like
> > $ vim /usr/local/etc/foo.bar
> > it says it can't find /usr/local/etc/foo.bar
> > but it will find the file if I open it like
> > $ vim /cygdrive/c/usr/local/etc/foo.bar
> > This is annoying, especially if using vim with gf (et al.) commands.
> > Does anyone know how to do this?
> > TIA
> > Rene