Thursday, May 24, 2012

Re: netrw-plugin: Hide files with names starting with dot

On May 23, 2:32 pm, Gary Johnson <garyj...@spocom.com> wrote:
> Neither the Windows installer nor the Cygwin installer creates a
> system vimrc, so you are free to create and manage your own.

That may be true, its been too long for me to remember. But they do
look in different locations for the pan-users vimrc.

> If you want consistency among all users and between Windows and
> Cygwin, I would recommend putting your Windows system vimrc in
> Windows' $VIM\vimrc (e.g., "C:\Program Files\Vim\vimrc") and
> creating a Cygwin symlink to it from Cygwin's $VIM/vimrc
> (/usr/share/vim/vimrc), e.g.,
>
> $ ln -s /cygdrive/c/Program\ Files/Vim/vimrc /usr/share/vim/vimrc
>
> Then you have only one system vimrc file to manage.
>
> For those settings that need to be different between the two
> systems, use the appropriate one of these tests:
>
> if has("win32")
> if has("win32unix")
> if has("unix")

I use the has("...") alot in vimrc. I also used "ln -s" alot in the
past, but I think I fell out of using it in general because the link
isn't recognized sometimes. I don't recall the circumstances, and for
all I know, it may depend on the version of cygwin. However, thanks
for your suggestion. I will reconsider going back to it, at least for
vim.

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