Reputation: 7941
How to get the path of _vimrc
file in gvim on windows.
I am currently working in one window and I want open _vimrc
file in a split window.
Is there a command to do it?
Upvotes: 3
Views: 2892
Reputation: 196546
You can use the following environment variable:
:sp $MYVIMRC
FWIW, asking random internet users on a generic site is not really the best or quickest way to get help on something in Vim. The built-in documentation answers most of your questions:
:help _vimrc
Upvotes: 9