Last active
December 25, 2020 03:49
-
-
Save xvzftube/0194fe046879ad976674c40d638e94cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# License: GNU GPLv3 | |
sudo apt-get update && sudo apt-get upgrade | |
# make a home for init.vim | |
mkdir -p dotfiles/nvim/.config/nvim/ | |
wget -O dotfiles/nvim/.config/nvim/init.vim https://gist.githubusercontent.com/xvzftube/5380163d8fc9090796eb6fcc61fe022d/raw/176ef6d2691a8eb0c29d778b0971c8a331009781/init.vim | |
# add the key for the CRAN Ubuntu archives | |
sudo apt-key adv --keyserver keyserver.ubuntu.com -- recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 | |
# get the latest R 4.0 packages | |
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/' | |
sudo apt update | |
# get curl neovim r-base pip3 neofetch tree stow git etc... | |
sudo apt-get install curl neovim make r-base-dev r-cran-tidyverse python3-pip neofetch tree build-essential git stow -y | |
sudo apt update -y | |
# vimplug | |
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \ | |
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' | |
# jedi is an autocomplete library. Very nice for vim. | |
pip3 install jedi flake8 isort pynvim black | |
# stow configs | |
cd dotfiles | |
stow nvim | |
cd .. | |
# nvim into dotfiles/nvim/.config/nvim and run :PlugInstall | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment