-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathstudent-install.sh
executable file
·43 lines (33 loc) · 1.26 KB
/
student-install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/bash
sudo apt-get install curl
curl -LSso nvim.appimage https://github.com/neovim/neovim/releases/download/v0.4.4/nvim.appimage
sudo cp nvim.appimage /usr/local/bin/nvim
sudo chmod +x /usr/local/bin/nvim
sudo apt-get install git
echo installed git
touch ~/.gitconfig
ln -f student.gitconfig ~/.gitconfig
echo linked git config
mkdir -p ~/.config/nvim
touch ~/.config/nvim/init.vim
ln -f panda.vimrc ~/.config/nvim/init.vim
# install pathogen, plugin manager
echo making bundle and auto load folders
mkdir -p ~/.config/nvim/autoload ~/.config/nvim/bundle
echo made autoload and bundle dir in ~/.config/nvim
echo attempting to download pathogen
curl -LSso ~/.config/nvim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
echo downloaded pathogen
# cd into directory and download all of the plugins
echo downloading git repos for plugins
cd ~/.config/nvim/bundle
echo cloning ctrlp
git clone https://github.com/ctrlpvim/ctrlp.vim.git
echo cloning nerdtree
git clone https://github.com/scrooloose/nerdtree.git
echo cloning superTab
git clone https://github.com/ervandew/supertab.git
mkdir ~/.config/nvim/colors
echo cloning solarized
git clone https://github.com/altercation/vim-colors-solarized.git
ln vim-colors-solarized/colors/solarized.vim ~/.config/nvim/colors/solarized.vim