-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.vimrc.bundles
130 lines (118 loc) · 4.28 KB
/
.vimrc.bundles
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
" Modeline and Notes {
"
" ####### ######## ######## ######## ## ## #### ## ##
" ## ## ## ## ## ## ## ## ## ### ###
" ## ## ## ## ## ## ## ## #### ####
" ####### ######## ###### ## ####### ## ## ## ## ### ##
" ## ## ## ## ## ## ## ## ## ##
" ## ## ## ## ## ## ## ## ## ##
" ######### ## ## ######## ## ### #### ## ##
"
" This is the personal .vimrc file of Ben Thouret.
"
" }
"
" Environment {
" Basics {
set nocompatible " must be first line
set background=dark " Assume a dark background
" }
" Setup Plugin Support {
" The next three lines ensure that the ~/.vim/bundle/ system works
filetype off
set rtp+=~/.vim/bundle/vundle
call vundle#rc()
" }
" }
" Plugins {
" Deps
Plugin 'gmarik/vundle'
Plugin 'tomtom/tlib_vim'
if executable('ag')
Plugin 'mileszs/ack.vim'
let g:ackprg = 'ag --nogroup --nocolor --column --smart-case'
elseif executable('ack-grep')
let g:ackprg="ack-grep -H --nocolor --nogroup --column"
Plugin 'mileszs/ack.vim'
elseif executable('ack')
Plugin 'mileszs/ack.vim'
endif
" Use local bundles if available {
if filereadable(expand("~/.vimrc.bundles.local"))
source ~/.vimrc.bundles.local
endif
" }
" In your .vimrc.bundles.local file"
" list only the plugin groups you will use
if !exists('g:two_ret_bundle_groups')
let g:two_ret_bundle_groups=['general', 'programming', 'ruby', 'javascript', 'html', 'misc', 'tmux', 'devops']
endif
" To override all the included bundles, put
" g:override_two_ret_bundles = 1
" in your .vimrc.bundles.local file"
if !exists("g:override_two_ret_bundles")
" General
if count(g:two_ret_bundle_groups, 'general')
Plugin 'alfredodeza/jacinto.vim'
Plugin 'editorconfig/editorconfig-vim'
Plugin 'flazz/vim-colorschemes'
Plugin 'godlygeek/csapprox'
Plugin 'itchyny/lightline.vim'
Plugin 'jiangmiao/auto-pairs'
Plugin 'kien/ctrlp.vim'
Plugin 'matchit.zip'
Plugin 'mbbill/undotree'
Plugin 'regedarek/ZoomWin'
Plugin 'roman/golden-ratio'
Plugin 'sheerun/vim-polyglot'
Plugin 'tacahiroy/ctrlp-funky'
Plugin 'terryma/vim-multiple-cursors'
Plugin 'tpope/vim-commentary'
Plugin 'tpope/vim-markdown'
Plugin 'tpope/vim-surround'
Plugin 'tpope/vim-vinegar'
" read your .gitignore file from the directory where you launch vim and parse
" it, transforming its format into one suitable for wildignore, and then set
" that option
Plugin 'vim-scripts/gitignore'
endif
" General Programming
if count(g:two_ret_bundle_groups, 'programming')
Plugin 'tpope/vim-fugitive'
if executable('ctags')
Plugin 'majutsushi/tagbar'
endif
Plugin 'Shougo/neocomplete.vim.git'
Plugin 'airblade/vim-gitgutter'
Plugin 'christoomey/vim-tmux-navigator'
Plugin 'luochen1990/rainbow'
Plugin 'tpope/vim-endwise'
endif
" Javascript
if count(g:two_ret_bundle_groups, 'javascript')
Plugin 'elzr/vim-json'
endif
" Ruby
if count(g:two_ret_bundle_groups, 'ruby')
Plugin 'tpope/vim-rails'
let g:rubycomplete_buffer_loading = 1
Plugin 'tpope/vim-bundler'
endif
" Misc
if count(g:two_ret_bundle_groups, 'misc')
Plugin 'mattn/gist-vim'
Plugin 'mattn/webapi-vim'
Plugin 'godlygeek/tabular'
endif
" TMUX
if count(g:two_ret_bundle_groups, 'tmux')
Plugin 'jgdavey/tslime.vim'
Plugin 'jgdavey/vim-turbux'
endif
endif
" }
" General {
set shortmess+=filmnrxoOtT " abbrev. of messages (avoids 'hit enter')
" }
"
" vim: set foldmarker={,} foldlevel=0 foldmethod=marker: