-
Notifications
You must be signed in to change notification settings - Fork 0
/
auto_vim_config.sh
67 lines (52 loc) · 2.58 KB
/
auto_vim_config.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
64
65
66
67
echo "Copying.. .vimrc under \$HOME"
ln -sf ${PWD}/.vimrc $HOME/.vimrc
if [[ "$OSTYPE" == "darwin"* ]]; then
brew install wget
brew install ctags
fi
echo "Installing .. plugin"
echo "p bundle"
mkdir -p ~/.vim/autoload ~/.vim/bundle
echo "p patheogen"
cd ~/.vim/autoload/ && wget https://tpo.pe/pathogen.vim
echo "p sensible"
cd ~/.vim/bundle && git clone [email protected]:tpope/vim-sensible.git
echo "p srcexpl"
cd ~/.vim/bundle/ && git clone https://github.com/wesleyche/SrcExpl
echo "p nerdtree"
cd ~/.vim/bundle/ && git clone https://github.com/scrooloose/nerdtree
echo "p trinity"
cd ~/.vim/bundle/ && git clone https://github.com/wesleyche/Trinity
echo "p taglist"
cd ~/.vim/bundle/ && wget https://sourceforge.net/projects/vim-taglist/files/vim-taglist/4.6/taglist_46.zip && unzip taglist_46.zip -d taglist
# fugitive.vim
cd ~/.vim/bundle/ && git clone https://github.com/tpope/vim-fugitive.git && vim -u NONE -c "helptags vim-fugitive/doc" -c q
# syntastic
cd ~/.vim/bundle && git clone --depth=1 https://github.com/vim-syntastic/syntastic.git
# vim-gitgutter
cd ~/.vim/bundle && git clone [email protected]:airblade/vim-gitgutter.git
# airline
cd ~/.vim/bundle && git clone https://github.com/vim-airline/vim-airline
# color scheme
cd ~/.vim/bundle && git clone https://github.com/flazz/vim-colorschemes.git
# kotlin vim
cd ~/.vim/bundle && git clone https://github.com/udalov/kotlin-vim ~/.vim/bundle/kotlin-vim
# python syntax
cd ~/.vim/bundle && git clone https://github.com/vim-python/python-syntax.git
# quickr-cscope
git clone https://github.com/ronakg/quickr-cscope.vim ~/.vim/bundle/quickr-cscope.vim
# <leader>s : Search for all symbol occurances of word under the cursor
# <leader>g : Search for global definition of the word under the cursor
# <leader>c : Search for all callers of the function name under the cursor
# <leader>f : Search for all files matching filename under the cursor
# <leader>i : Search for all files including filename under the cursor
# <leader>t : Search for text matching word under the cursor/visualy selected text
# <leader>e : Enter an egrep patter for searching
# <leader>d : Search all the functions called by funtion name under the cursor
# <leader>a : Search all the places where the symbol under the cursor is assigned a value
# tagbar
git clone https://github.com/majutsushi/tagbar.git ~/.vim/bundle/tagbar
# golang
# The full documentation can be found at doc/vim-go.txt. You can display it from within Vim with :help vim-go
git clone https://github.com/fatih/vim-go.git ~/.vim/bundle/vim-go
#git clone https://github.com/ctrlpvim/ctrlp.vim.git ~/.vim/bundle/ctrlp.vim