Friday, February 10, 2012

Re: Cygwin .vimrc file location and how to make changes?

On Fri, Feb 10, 2012 at 12:28:52PM -0800, Ben Fritz wrote:


> On Feb 10, 2:00 pm, tsai <tsai...@gmail.com> wrote:
> > Hi everyone,
> >
> > After installing Cygwin, where is the default location of the .vimrc file
> > so I can augment it? Kind of confusing. I know on my Linux box, it is
> > hidden in the home directory and a simple ls -la will list it. That isn't
> > happening in Cygwin. Where is .vimrc located in Cygwin and how do I make
> > changes to it and save it?
> >

> I'm not sure where it is by default in cygwin, but an easy way to find
> out is to launch vim, and :echo $MYVIMRC

> Or just edit it with :edit $MYVIMRC

the first way to find it that popped into my mind was to execute

:scriptnames

your .vimrc should be the first script mentioned

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