aboutsummaryrefslogtreecommitdiff
path: root/archSetup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'archSetup.sh')
-rwxr-xr-xarchSetup.sh10
1 files changed, 10 insertions, 0 deletions
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]"