source ${ZDOTDIR:-$HOME}/.zshrc_my
ln -s $PWD/.vimrc $HOME/.vimrc
ln -s $PWD/nvim $HOME/.config/nvim
ln -s $PWD/.vimrc $HOME/.ideavimrc
# install vim-plug
# https://github.com/junegunn/vim-plug#unix-linux
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
# install vim-plug plugins
# https://github.com/junegunn/vim-plug/wiki/tips#install-plugins-on-the-command-line
nvim -es -u ~/.config/nvim/init.vim -i NONE -c "PlugInstall" -c "qa"
cp $PWD/.gitconfig.example $HOME/.gitconfig
cp $PWD/.gitconfig.user.example $HOME/.gitconfig.user
ln -s $PWD/.tmux.conf $HOME/.tmux.conf
ln -s $PWD/.latexmkrc $HOME/.latexmkrc
ln -s $PWD/.marprc.yml $HOME/.marprc.yml