diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2019-12-02 18:27:03 +0100 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2019-12-02 18:27:03 +0100 |
commit | b2e32ae0be916d4283b79df4c5163e2a25513f69 (patch) | |
tree | 5952901e1e03a282dcb051bd9f9250c31f4447b6 /archSetup.sh | |
parent | 1c64fe603c8354704110b397b2e89817f5c4d895 (diff) | |
download | scripts-b2e32ae0be916d4283b79df4c5163e2a25513f69.tar.gz scripts-b2e32ae0be916d4283b79df4c5163e2a25513f69.zip |
Added nvim initial config to archSetup.sh
Diffstat (limited to 'archSetup.sh')
-rwxr-xr-x | archSetup.sh | 10 |
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]" |