Some improvements
This commit is contained in:
parent
aa2404161c
commit
cb4623e7e2
|
@ -216,11 +216,17 @@ configure_neovim() {
|
||||||
install_neovim
|
install_neovim
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Create config files an directories
|
||||||
mkdir -p $HOME/.config/nvim $HOME/.nvim/backups $HOME/.nvim/swp $HOME/.nvim/undo
|
mkdir -p $HOME/.config/nvim $HOME/.nvim/backups $HOME/.nvim/swp $HOME/.nvim/undo
|
||||||
rm -f $HOME/.config/nvim/init.vim
|
rm -f $HOME/.config/nvim/init.vim
|
||||||
ln -s $HOME/.config/dotfiles/init.vim $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() {
|
main() {
|
||||||
|
|
Loading…
Reference in New Issue