Wednesday, May 23, 2012

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

On 2012-05-23, Paul wrote:

> Understood...it's just that the two installs of vim look for vimrc at
> different places (each has their own "root install" directory). And
> of course, I try to maintain separation between user & global stuff,
> so I keep an account-specific copy of vimrc, even though it is the
> same as the global. In case I ever need to create another account.

Neither the Windows installer nor the Cygwin installer creates a
system vimrc, so you are free to create and manage your own. 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")

Regards,
Gary

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