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?
|
feedback
|
|
You don't. Symlink it instead.
You cam do the symlink thing to sync your vimrc through Dropbox as well. | |||||||
feedback
|
|
digitxp's answer is probably the better one, but you can tell Vim to look for your vimrc anywhere you like with the -u command-line option, and gvimrc with -U, e.g.:
| |||
|
feedback
|