Domanda

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?

È stato utile?

Soluzione

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
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top