I started using thoughtbot’s dotfiles a couple of weeks ago.
So far so good.
Now I wanted to add some custom configuration to my
.vimrc without changing the dotfiles’ one.
I followed the .local convention but I realised it’s not meant to work that way with
So I erased the symlink to the dotfilesd
vimrc, andcreated my own
~/.vimrc as follows:
source ~/dotfiles/vimrc if filereadable(expand("~/.vimrc.local")) source ~/.vimrc.local endif
In this way I can use the latest unchanged version of thoughtbot’s dotfiles and add my own config on top of it.
So, my question… is there a better way to do this?
Edit: improved my original .vimrc