Search code examples
macosvim

Where is the default vimrc located on Mac


Where can I find the default vimrc on Mac when there is no ~/.vimrc. On some Linux its located in the /etc/vimrc


Solution

  • Type in Terminal: vim --version
    as you want check the vim's version, then scroll down you will find something like; user vimrc file: "$HOME/.vimrc"

    Hope it helps.