This repository has been archived by the owner on Sep 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugins.vim
307 lines (223 loc) · 5.15 KB
/
plugins.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
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
"
" Global Configuration
"
" Map space to leader.
let mapleader = "\<Space>"
let maplocalleader = "\\"
" Libraries
Plug 'konfekt/fastfold'
Plug 'shougo/vimproc.vim',
\ { 'do': 'make \|\| gmake' }
Plug 'tpope/vim-repeat'
" Sensible Defaults
Plug 'tpope/vim-sensible'
" EditorConfig
Plug 'editorconfig/editorconfig-vim'
" Prompt and Statusline
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'edkolev/promptline.vim'
Plug 'edkolev/tmuxline.vim'
" Projectionist
Plug 'tpope/vim-projectionist'
"
" Editor
"
" Themes and Colors
Plug 'chriskempson/base16-vim'
Plug 'altercation/vim-colors-solarized'
Plug 'tomasr/molokai'
Plug 'jnurmine/zenburn'
" Syntax
Plug 'scrooloose/syntastic'
Plug 'chrisbra/colorizer'
" Text Objects
Plug 'kana/vim-textobj-user'
\ | Plug 'kana/vim-textobj-entire'
" Whitespace
Plug 'ntpeters/vim-better-whitespace'
" Parentheses and Context
Plug 'alvan/vim-closetag'
Plug 'cohama/lexima.vim'
Plug 'luochen1990/rainbow'
" Sneak
Plug 'justinmk/vim-sneak'
" Clipboard
Plug 'svermeulen/vim-easyclip'
" Macros
Plug 'bronson/vim-visual-star-search'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-unimpaired'
" Buffer
Plug 'moll/vim-bbye'
" Yank
Plug 'shougo/neoyank.vim'
"
" Internal Interfaces
"
" Autocompletion
Plug 'shougo/neocomplete.vim'
Plug 'shougo/neosnippet'
Plug 'rxrc/neosnippet-snippets',
\ { 'branch': 'rxrc' }
Plug 'rxrc/vim-snippets',
\ { 'branch': 'rxrc' }
" Autoformat
Plug 'chiel92/vim-autoformat'
" Marks
Plug 'kshenoy/vim-signature'
" Undo
Plug 'mbbill/undotree'
" Session
Plug 'xolox/vim-misc'
\ | Plug 'xolox/vim-session'
" Unicode
Plug 'chrisbra/unicode.vim'
" Ctags
Plug 'majutsushi/tagbar'
" Unite.vim and vimfiler
Plug 'shougo/unite.vim'
\ | Plug 'shougo/vimfiler.vim'
"
" External Interfaces
"
" fzf
Plug 'junegunn/fzf'
Plug 'junegunn/fzf.vim'
" Documentation
Plug 'keith/investigate.vim'
" Shell
Plug 'tpope/vim-dispatch'
" The Silver Searcher
Plug 'rking/ag.vim'
" Git
Plug 'airblade/vim-gitgutter'
Plug 'tpope/vim-fugitive'
" tmux
Plug 'christoomey/vim-tmux-navigator'
" Portkey
Plug 'dsawardekar/portkey'
"
" Language Interfaces
"
" Vim-polyglot
Plug 'sheerun/vim-polyglot'
" Clojure
Plug 'tpope/vim-fireplace',
\ { 'for': 'clojure' }
Plug 'tpope/vim-salve',
\ { 'for': 'clojure' }
Plug 'guns/vim-sexp',
\ { 'for': 'clojure' }
Plug 'tpope/vim-sexp-mappings-for-regular-people',
\ { 'for': 'clojure' }
Plug 'guns/vim-clojure-highlight',
\ { 'for': 'clojure' }
Plug 'venantius/vim-cljfmt',
\ { 'for': 'clojure' }
Plug 'venantius/vim-eastwood',
\ { 'for': 'clojure' }
" Ember
Plug 'dsawardekar/ember.vim',
\ { 'for': ['javascript', 'handlebars.ember'] }
" Haskell
Plug 'bitc/vim-hdevtools',
\ { 'for': 'haskell' }
" HTML
Plug 'mattn/emmet-vim',
\ { 'for': ['css', 'html', 'html.handlebars',
\ 'javascript.jsx', 'liquid', 'sass', 'scss'] }
" LaTeX
Plug 'lervag/vimtex',
\ { 'for': 'tex' }
" Node.js
Plug 'moll/vim-node',
\ { 'for': 'javascript' }
" Python
Plug 'tmhedberg/simpylfold',
\ { 'for': 'python' }
Plug 'davidhalter/jedi-vim',
\ { 'for': 'python' }
\ | Plug 'lambdalisue/vim-pyenv',
\ { 'for': 'python' }
" Ruby
Plug 'tpope/vim-rbenv',
\ { 'for': 'ruby' }
Plug 'tpope/vim-bundler',
\ { 'for': 'ruby' }
Plug 'danchoi/ri.vim',
\ { 'for': 'ruby' }
" Sass
Plug 'gcorne/vim-sass-lint',
\ { 'for': ['scss', 'sass'] }
"
" Initialization Settings
"
"
" Powerline
" Disable Powerline.
let g:powerline_loaded = 1
"
" vim-airline
" Use Powerline fonts for vim-airline.
let g:airline_powerline_fonts = 1
"
" Colorizer
" Enable colors for specific file types.
let g:colorizer_auto_filetype='css,html,html.handlebars,scss,sass'
"
" closetag.vim
" Enable closetag.vim for specific file types.
let g:closetag_filenames = "*.html,*.xhtml,*.phtml,*.js,*.jsx,*.hbs"
"
" Rainbow Parentheses
" Enable rainbow parentheses.
let g:rainbow_active = 1
"
" Sneak
" TODO: Enable streak mode when spell issue is fixed:
" https://github.com/justinmk/vim-sneak/issues/110
" Use Sneak streak mode.
" let g:sneak#streak = 1
"
" neocomplete
" Enable neocomplete.
let g:neocomplete#enable_at_startup = 1
" Initialize input_patterns.
if !exists('g:neocomplete#sources#omni#input_patterns')
let g:neocomplete#sources#omni#input_patterns = {}
endif
" Initialize force_omni_input_patterns.
if !exists('g:neocomplete#force_omni_input_patterns')
let g:neocomplete#force_omni_input_patterns = {}
endif
"
" neosnippet
" Set snippet paths.
let snippets_directory = [
\ '../neocomplcache-snippets/neosnippets',
\ '../vim-snippets/snippets']
let g:neosnippet#snippets_directory = join(snippets_directory, ',')
"
" Signature
" Set signature leader.
let g:SignatureMap = { 'Leader': "\<Leader\>;" }
"
" Commentary
" Disable \\ commentary maps.
let g:commentary_map_backslash = 0
"
" fzf
" Set fzf command prefix.
let g:fzf_command_prefix = 'Fzf'
"
" Vim-polyglot
" Disable select language packs.
let g:polyglot_disabled = ['latex']
" Load jsx syntax for normal javascript files.
let g:jsx_ext_required = 0
"
" Ruby
" Disable default ri.vim mappings.
let g:ri_no_mappings = 1