-
Notifications
You must be signed in to change notification settings - Fork 0
/
my-vim-config-install.sh
executable file
·63 lines (51 loc) · 1.45 KB
/
my-vim-config-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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/bin/bash
#
# my-vim-config-install.sh
# by Ali Moreno <alimoreno@gmail.com>
#
# Usage: ./my-vim-config-install.sh [OPTIONS]
#
# -f Download and setup fugitive.vim
# -m Download and setup Molokai Color Scheme for Vim
# -n Download and setup Neat Status Line
# -p Download and setup Python-mode
# -t Download and setup NERDTree
### Preparing environment
# Setup .vimrc
echo ""
echo "... Creating the .vimrc file"
cp _vimrc ~/.vimrc
# Setting up pathogen.vim
echo ""
echo "... Downloading and setting up Pathogen"
mkdir -p ~/.vim ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
### Cloning plugins
# Download vim-fugitive
echo ""
echo "... Downloading Fugitive.VIM"
cd && cd .vim/bundle/ && \
git clone https://github.com/tpope/vim-fugitive.git
# Download molokai
echo ""
echo "... Downloading Molokai ColorScheme"
cd && cd .vim/bundle/ && \
git clone https://github.com/tomasr/molokai.git
# Download vim-neatstatus
echo ""
echo "... Downloading Neat Status Line"
cd && cd .vim/bundle/ && \
git clone https://github.com/maciakl/vim-neatstatus.git
# Download python-mode
echo ""
echo "... Downloading Python Mode"
cd && cd .vim/bundle/ && \
git clone --recursive https://github.com/python-mode/python-mode.git
# Download nerdtree
echo ""
echo "... Downloading NERDTree"
cd && cd .vim/bundle/ && \
git clone https://github.com/scrooloose/nerdtree.git
echo ""
echo "My VIM Config is ready!"
echo ""