-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvim-setup.sh
More file actions
28 lines (22 loc) · 794 Bytes
/
vim-setup.sh
File metadata and controls
28 lines (22 loc) · 794 Bytes
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
#!/bin/sh
# Shell script to install my vim setup
# Before executing it, make sure you have 'git' package installed!
# create needed directories
mkdir -p ~/.vim/pack/vendor/start/
mkdir -p ~/.vim/colors
# install color scheme
git clone https://github.com/sickill/vim-monokai
mv vim-monokai/colors/monokai.vim ~/.vim/colors/
rm -rf -v vim-monokai/
# install some plugins
git -C ~/.vim/pack/vendor/start/ clone https://github.com/preservim/nerdtree
git -C ~/.vim/pack/vendor/start/ clone https://github.com/ap/vim-buftabline
git -C ~/.vim/pack/vendor/start/ clone https://github.com/vim-scripts/AutoComplPop
git -C ~/.vim/pack/vendor/start/ clone https://github.com/vim-airline/vim-airline
# use my vim config
rm -rf -v ~/.vimrc
mv .vimrc ~
# finish
cd ..
rm -rf -v vim-setup/
echo "Done!"