remove neovim setting

This commit is contained in:
Jay 2021-06-29 21:23:00 +08:00
parent 1c43791e24
commit 0c639fef83

View File

@ -42,19 +42,9 @@ if [ ! -d "$HOME/.config" ]; then
mkdir "$HOME/.config"
fi
if [ -d "$HOME/.config/nvim" ]; then
# backup old file
mv "$HOME/.config/nvim" "$HOME/.config/nvim.old"
fi
ln -sf "`pwd`/nvim" "$HOME/.config/nvim"
# install vim and nvim plug
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
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 dep
"./vim_dep.sh"