Sunday, December 29, 2013

Re: Where is my system-wide init file?

On Sunday, December 29, 2013 10:49:21 PM UTC+1, Gary Johnson wrote:
> To find that out, execute
>
>
>
> :scriptnames

And the first line of the output reads:

/usr/share/vim/vimrc

That's what I was looking for. Thanks.

> System vimrc files do not begin with a period, so you will not find
>
> a ".vimrc" among them. Only user vimrc files begin with a period,
>
> and even that is not always the case, as on Windows where the name
>
> is _vimrc and in newer Vim's where ~/.vim/vimrc is also valid.

Thanks for the clarification.

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: