Clone source code
cd $HOME
git clone [email protected]:locphan87/dotfiles.git
Install vim-plug
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Export DOTFILES
DOTFILES=$HOME/dotfiles
ln -s -f <source> <destination>
-f will overwrite the existing link
ln -s -f $DOTFILES/.vimrc ~
mkdir .vim
ln -s -f $DOTFILES/vim/after ~/.vim
ln -s -f $DOTFILES/vim/coc-settings.json ~/.vim
ln -s -f $DOTFILES/.tmux.conf ~
ln -s -f $DOTFILES/.shell_profile ~
ln -s -f $DOTFILES/.zshrc ~
ln -s -f $DOTFILES/.antigenrc ~
ln -s -f $DOTFILES/.gitconfig ~
ln -s -f $DOTFILES/.gitignore_global ~
ln -s -f $DOTFILES/tmuxinator ~/.config
cd ~/.config/nvim
ln -s -f $DOTFILES/init.vim .
ln -s -f $DOTFILES/vim/coc-settings.json .