Some improvements

This commit is contained in:
Thomas Forgione 2019-04-26 15:38:56 +02:00
parent aa2404161c
commit cb4623e7e2
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
1 changed files with 7 additions and 1 deletions

View File

@ -216,11 +216,17 @@ configure_neovim() {
install_neovim
fi
# Create config files an directories
mkdir -p $HOME/.config/nvim $HOME/.nvim/backups $HOME/.nvim/swp $HOME/.nvim/undo
rm -f $HOME/.config/nvim/init.vim
ln -s $HOME/.config/dotfiles/init.vim $HOME/.config/nvim/init.vim
nvim +qa
# Install vim plug
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# Install plugins
nvim +PlugInstall +qa
}
main() {