💻 Software
How to change the default location of .vimrc to inside ~/.vim/?
Fresh5 days ago
Mar 15, 20266248 viewsConfidence Score0%
0%
Problem
I use git to persist my ~/.vim directory. I'd like to store my vimrc file in this directory as well so that it will also live in the repository. How do I change the location where Vim searches for the vimrc file?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to change the default location of .vimrc to inside ~/.vim/?
Low Risk
You don't. Symlink it instead. You cam do the symlink thing to sync your vimrc through Dropbox as well.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix