Created
March 6, 2012 02:38
-
-
Save maciakl/1983010 to your computer and use it in GitHub Desktop.
Placing Vim Files Under Source Control
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is how you prepare your .vim directory to be source controlled across multiple platforms | |
# On Mac/Linux: | |
mv .vimrc .vim/ | |
ln -s .vimrc .vim/vimrc | |
# On Winodws: | |
rename _vimrc .vimrc | |
move .vimrc vimfiles\.vimrc | |
mklink /d .vim vimfiles | |
mklink .vimrc .vim\vimrc | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment