-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc.bundles
311 lines (246 loc) · 9.58 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
" Modeline and Notes {
" vim: set sw=4 ts=4 sts=4 et tw=78 foldmarker={,} foldlevel=100 foldmethod=marker :
" }
" Environment {
" Basics {
set nocompatible " Must be first line
set background=dark " Assume a dark background
" }
" Windows Compatible {
" On Windows, also use '.vim' instead of 'vimfiles'; this makes synchronization
" across (heterogeneous) systems easier.
if has('win32') || has('win64')
set runtimepath=$HOME/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,$HOME/.vim/after
endif
" }
" Encoding {
if has("multi_byte")
set encoding=utf-8
scriptencoding utf-8
set fileencoding=utf-8
set fileencodings=ucs-bom,utf-8,cp936,gb18030,big5,euc-jp,euc-kr,latin1
if WINDOWS()
set termencoding=cp936
else
set termencoding=utf-8
endif
set langmenu=en_US.UTF-8
language messages en_US.UTF-8
set ambiwidth=single
endif
" }
" Setup Bundle Support {
" The next three lines ensure that the ~/.vim/bundle/ system works
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" }
" }
" Bundles {
" Deps {
Plugin 'VundleVim/Vundle.vim'
" }
" color schemes {
Plugin 'altercation/vim-colors-solarized'
Plugin 'tomasr/molokai'
Plugin 'sjl/badwolf'
Plugin 'chriskempson/base16-vim'
Plugin 'nanotech/jellybeans.vim'
Plugin 'zeis/vim-kolor'
Plugin 'w0ng/vim-hybrid'
Plugin 'arcticicestudio/nord-vim'
" }
" General {
if count(g:m_vim_settings.plugin_groups, 'general')
" Seamless navigation between tmux panes and vim splits
Plugin 'christoomey/vim-tmux-navigator'
" Resize a vertical or horizontal split screen
Plugin 'ahonn/resize.vim'
" Copying to the system clipboard with text-objects and motions
Plugin 'christoomey/vim-system-copy'
" Run shell commands in an interactive shell
Plugin 'christoomey/vim-run-interactive'
" Ack can be used as a replacement for 99% of the uses of grep
Plugin 'mileszs/ack.vim'
Plugin 'dyng/ctrlsf.vim'
" A tree explorer plugin
Plugin 'scrooloose/nerdtree'
" Delete/change/add parentheses/quotes/XML-tags/much more with ease
Plugin 'tpope/vim-surround'
" enable repeating supported plugin maps with "."
Plugin 'tpope/vim-repeat'
" Fuzzy file, buffer, mru, tag, etc finder
Plugin 'ctrlpvim/ctrlp.vim'
" Navigate and jump to function defs
Plugin 'tacahiroy/ctrlp-funky'
" True Sublime Text style multiple selections for Vim
Plugin 'terryma/vim-multiple-cursors'
" Vim session manager
Plugin 'vim-scripts/sessionman.vim'
"Plugin 'xolox/vim-session'
" extended % matching for HTML, LaTeX, and many other languages
Plugin 'matchit.zip'
" lean & mean status/tabline for vim that's light as air
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
" Vim motions on speed
Plugin 'easymotion/vim-easymotion'
Plugin 'mbbill/undotree'
"Plugin 'sjl/gundo.vim'
" visually displaying indent levels in code
Plugin 'nathanaelkane/vim-indent-guides'
" display the indention levels with thin vertical lines
Plugin 'Yggdroot/indentLine'
" easily search for, substitute, and abbreviate multiple variants of a word
Plugin 'tpope/vim-abolish'
" :substitute preview
"Plugin 'osyo-manga/vim-over'
"Plugin 'kana/vim-textobj-user'
"Plugin 'kana/vim-textobj-indent'
" Smart selection of the closest text object
Plugin 'gcmt/wildfire.vim'
" auto-completion for quotes, parens, brackets, etc
Plugin 'Raimondi/delimitMate'
"Plugin 'jiangmiao/auto-pairs'
" Buffer Explorer / Browser
Plugin 'jlanzarotta/bufexplorer'
" shows 'Nth match out of M' at every search
Plugin 'henrik/vim-indexed-search'
" Fast and Easy Find and Replace Across Multiple Files
Plugin 'dkprice/vim-easygrep'
" visually select increasingly larger regions of text
"Plugin 'terryma/vim-expand-region'
" Simplify Doxygen documentation in C, C++, Python
"Plugin 'DoxygenToolkit.vim'
" Toggling the display of the quickfix list and the location-list
Plugin 'Valloric/ListToggle'
endif
" }
" Writing {
if count(g:m_vim_settings.plugin_groups, 'writing')
Plugin 'reedes/vim-litecorrect'
Plugin 'kana/vim-textobj-entire'
Plugin 'lucapette/vim-textobj-underscore'
Plugin 'reedes/vim-wordy'
endif
" }
" General Programming {
if count(g:m_vim_settings.plugin_groups, 'programming')
" easy code formatting in Vim
Plugin 'rhysd/vim-clang-format'
" easy code formatting in Vim
"Plugin 'Chiel92/vim-autoformat'
" Syntax checking
"Plugin 'vim-syntastic/syntastic'
" intensely orgasmic commenting
Plugin 'preservim/nerdcommenter'
" text filtering and alignment
Plugin 'godlygeek/tabular'
" Rainbow Parentheses Improve
Plugin 'luochen1990/rainbow'
" displays tags in a window, ordered by scope
Plugin 'majutsushi/tagbar'
" Automated tag file generation and syntax highlight of tags in Vim
"Plugin 'xolox/vim-easytags'
"Plugin 'xolox/vim-misc'
" Additional Vim syntax highlighting for C++ (including C++11/14)
Plugin 'octol/vim-cpp-enhanced-highlight'
endif
" }
" SCM {
if count(g:m_vim_settings.plugin_groups, 'scm')
" a Git wrapper so awesome
Plugin 'tpope/vim-fugitive'
" gitk for Vim
"Plugin 'gregsexton/gitv'
"A Vim plugin which shows a git diff in the gutter (sign column) and stages/undoes hunks
Plugin 'airblade/vim-gitgutter'
" Show a VCS diff using Vim's sign column
"Plugin 'mhinz/vim-signify'
endif
" }
" Snippets & AutoComplete {
if count(g:m_vim_settings.plugin_groups, 'youcompleteme')
Plugin 'ycm-core/YouCompleteMe'
Plugin 'SirVer/ultisnips'
Plugin 'honza/vim-snippets'
Plugin 'rdnetto/YCM-Generator'
"Code snippets engine for Vim
"Plugin 'drmingdrmer/xptemplate'
endif
" }
" Python {
if count(g:m_vim_settings.plugin_groups, 'python')
" Pick either python-mode or pyflakes & pydoc
Plugin 'klen/python-mode'
Plugin 'yssource/python.vim'
Plugin 'python_match.vim'
Plugin 'pythoncomplete'
"Plugin 'davidhalter/jedi-vim'
endif
" }
" Javascript {
if count(g:m_vim_settings.plugin_groups, 'javascript')
Plugin 'ternjs/tern_for_vim'
Plugin 'elzr/vim-json'
Plugin 'groenewege/vim-less'
Plugin 'pangloss/vim-javascript'
Plugin 'briancollins/vim-jst'
Plugin 'kchmck/vim-coffee-script'
endif
" }
" HTML {
if count(g:m_vim_settings.plugin_groups, 'html')
Plugin 'amirh/HTML-AutoCloseTag'
Plugin 'hail2u/vim-css3-syntax'
Plugin 'gorodinskiy/vim-coloresque'
Plugin 'tpope/vim-haml'
Plugin 'mattn/emmet-vim'
Plugin 'groenewege/vim-less'
Plugin 'cakebaker/scss-syntax.vim'
Plugin 'ap/vim-css-color'
Plugin 'othree/html5.vim'
Plugin 'wavded/vim-stylus'
Plugin 'digitaltoad/vim-jade'
Plugin 'mattn/webapi-vim'
Plugin 'juvenn/mustache.vim'
Plugin 'gregsexton/MatchTag'
function! s:zen_html_tab()
let line = getline('.')
if match(line, '<.*>') < 0
return "\<c-y>,"
endif
return "\<c-y>n"
endfunction
autocmd FileType xml,xsl,xslt,xsd,css,sass,scss,less,mustache imap <buffer><tab> <c-y>,
autocmd FileType html imap <buffer><expr><tab> <sid>zen_html_tab()
endif
" }
" Scala {
if count(g:m_vim_settings.plugin_groups, 'scala')
Plugin 'derekwyatt/vim-scala'
Plugin 'derekwyatt/vim-sbt'
endif
" }
" Go Lang {
if count(g:m_vim_settings.plugin_groups, 'go')
"Plugin 'Blackrush/vim-gocode'
Plugin 'fatih/vim-go'
endif
" }
" Misc {
if count(g:m_vim_settings.plugin_groups, 'misc')
Plugin 'rust-lang/rust.vim'
Plugin 'tpope/vim-markdown'
Plugin 'spf13/vim-preview'
Plugin 'tpope/vim-cucumber'
Plugin 'cespare/vim-toml'
Plugin 'quentindecock/vim-cucumber-align-pipes'
endif
" }
" }
" Setup Bundle Support {
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" }