-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplug.vim
38 lines (27 loc) · 915 Bytes
/
plug.vim
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
"" Install vim-plug if not available yet
if empty(glob("~/.vim/autoload/plug.vim"))
silent !mkdir -p ~/.vim/plugged ~/.vim/autoload
silent !curl -fLo ~/.vim/autoload/plug.vim https://raw.github.com/junegunn/vim-plug/master/plug.vim
endif
call plug#begin('~/.vim/plugged')
"" interface
Plug 'vim-airline/vim-airline'
"" tmux integration
Plug 'christoomey/vim-tmux-navigator'
"" utilities
Plug 'tpope/vim-surround' " Surround element with a character (e.g. ') or a tag (e.g. html tag)
Plug 'ervandew/supertab' " Autocompletion with tab
"" snippets
Plug 'MarcWeber/vim-addon-mw-utils'
Plug 'tomtom/tlib_vim'
Plug 'garbas/vim-snipmate'
"" file explorer
Plug 'scrooloose/nerdtree'
Plug 'ctrlpvim/ctrlp.vim'
"" syntax
Plug 'scrooloose/syntastic'
"" typeScript
Plug 'leafgarland/typescript-vim', {'for': 'typescript'}
"" json
Plug 'elzr/vim-json', {'for': 'json'}
call plug#end()