From b2e32ae0be916d4283b79df4c5163e2a25513f69 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Mon, 2 Dec 2019 18:27:03 +0100 Subject: Added nvim initial config to archSetup.sh --- archSetup.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/archSetup.sh b/archSetup.sh index bfed36a..f61b4dd 100755 --- a/archSetup.sh +++ b/archSetup.sh @@ -108,6 +108,16 @@ cp -r "mainpage" "$HOME/.mainpage" rm -rf "$HOME/.mainpage/.git" ) +# Set up nvim (as in nvim-from-vim) +mkdir -p "$HOME/.config/nvim" +echo "set runtimepath^=~/.vim runtimepath+=~/.vim/after +let &packpath = &runtimepath +source ~/.vimrc" >"$HOME/.config/nvim/init.vim" + +# vim-plug +curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ + https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim + # Remove default .bash_profile as it avoids .profile execution if [ -f ".bash_profile" ]; then echo "Remove .bash_profile? It prevents .profile from being executed. [y/N]" -- cgit v1.2.1