/dotfiles

dotfiles (zsh, vim, git, tmux,...)

Primary LanguageVim Script

dotfiles

Install

Clone source code

cd $HOME
git clone git@github.com: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

Link dot files

ln -s -f <source> <destination>

-f will overwrite the existing link

vimrc

ln -s -f $DOTFILES/.vimrc ~
mkdir .vim
ln -s -f $DOTFILES/vim/after ~/.vim
ln -s -f $DOTFILES/vim/coc-settings.json ~/.vim

tmux

ln -s -f $DOTFILES/.tmux.conf ~

shell

ln -s -f $DOTFILES/.shell_profile ~
ln -s -f $DOTFILES/.zshrc ~
ln -s -f $DOTFILES/.antigenrc ~

git

ln -s -f $DOTFILES/.gitconfig ~
ln -s -f $DOTFILES/.gitignore_global ~

tmuxinator

ln -s -f $DOTFILES/tmuxinator ~/.config

neovim

cd ~/.config/nvim
ln -s -f $DOTFILES/init.vim .
ln -s -f $DOTFILES/vim/coc-settings.json .