-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc.bundles
402 lines (277 loc) · 9.8 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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
" Install vim-plug if missing
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
augroup VimPlugAutoInstall
autocmd!
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
augroup END
endif
call plug#begin('~/.vim/plugged')
" Dependencies: {{{
" Vim Web API (required by gist-vim)
Plug 'mattn/webapi-vim'
" fzf greatness (fuzzy finding)
Plug 'junegunn/fzf'
Plug 'junegunn/fzf.vim'
" for coc-clap ... not completely sure if this *must* be installed first
" Clap is similar to fzf, but I prefer its interface a bit more, and
" and 'filer' is sweet :)
Plug 'liuchengxu/vim-clap', { 'do': ':Clap install-binary' }
" }}}
" COC {{{
if executable('yarn') && executable('node')
let g:coc_global_extensions = [
\ 'coc-clangd',
\ 'coc-css',
\ 'coc-eslint',
\ 'coc-git',
\ 'coc-github',
\ 'coc-gitignore',
\ 'coc-highlight',
\ 'coc-html',
\ 'coc-json',
\ 'coc-python',
\ 'coc-snippets',
\ 'coc-solargraph',
\ 'coc-spell-checker',
\ 'coc-tsserver',
\ 'coc-vimlsp',
\ 'coc-yaml',
\ 'coc-yank',
\ ]
Plug 'neoclide/coc.nvim', {'branch': 'release'}
endif
": Plug 'liuchengxu/coc-clap'
Plug 'vn-ki/coc-clap'
Plug 'antoinemadec/coc-fzf'
" }}}
" Terminal {{{
" abstraction on top of neovim terminal
Plug 'kassio/neoterm'
" floating terminal
Plug 'voldikss/vim-floaterm'
" }}}
" Writing: {{{
" distraction free writing (like iA Writer)
Plug 'laktek/distraction-free-writing-vim', { 'on': 'ToggleDistractionFreeWriting' }
" Distraction free writing in vim
Plug 'junegunn/goyo.vim', { 'on': 'Goyo' }
" Highlight current paragraph (works well with goyo)
Plug 'junegunn/limelight.vim', { 'on': 'Limelight' }
" Previewing markdown in the browser
Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app & yarn install' }
" General markdown
Plug 'gabrielelana/vim-markdown'
" integration with Deckset macOS app
" Plug 'bwmcadams/vim-deckset', { 'for': 'markdown' }
" function! BuildComposer(info)
" if a:info.status != 'unchanged' || a:info.force
" if has('nvim')
" !cargo build --release --locked
" else
" !cargo build --release --locked --no-default-features --features json-rpc
" endif
" endif
" endfunction
" Plug 'euclio/vim-markdown-composer', { 'do': function('BuildComposer') }
" }}}
" TimPope: {{{
" Vim sugar for the UNIX shell commands that need it the most.
Plug 'tpope/vim-eunuch'
" allow (non-native) plugins to use the . command
Plug 'tpope/vim-repeat'
" Surround text with closures
Plug 'tpope/vim-surround'
" vim projectionist allows creating :Esomething custom shortcuts (required by vim rake)
" Plug 'tpope/vim-projectionist'
" vim unimpaired fixes daily annoyences
Plug 'tpope/vim-unimpaired'
" abolish.vim: easily search for, substitute, and abbreviate multiple variants of a word
Plug 'tpope/vim-abolish'
" Support emacs keybindings in insert mode
Plug 'tpope/vim-rsi'
" Clojure REPL in Vim
Plug 'tpope/vim-fireplace', { 'for': 'clojure' }
" save vim sessions
" " Plug 'tpope/vim-obsession'
" Comment out code easily
Plug 'tpope/vim-commentary'
" add `end` automatically when creating a closure in many languages
" Plug 'tpope/vim-endwise'
" }}}
" GIT: {{{
" Git Commands
Plug 'tpope/vim-fugitive'
" shows a git diff in the gutter (sign column) and stages/undoes hunks
Plug 'mhinz/vim-signify'
Plug 'airblade/vim-gitgutter'
" Browse git history
Plug 'junegunn/gv.vim'
" Display git blame status on line
" Plug 'APZelos/blamer.nvim'
" }}}
" GITHUB: {{{
" Browse github
Plug 'junegunn/vim-github-dashboard'
Plug 'mattn/gist-vim', { 'on': 'Gist' }
" Fugitive Github Integration
Plug 'tpope/vim-rhubarb'
" }}}
" GUI + Looks {{{
Plug 'vim-airline/vim-airline' " airline status bar
Plug 'vim-airline/vim-airline-themes' " airline themes
Plug 'dracula/vim', { 'as': 'dracula' } " Dracula Theme
Plug 'ryanoasis/vim-devicons' " Icons for things (I had in a note to put this BELOW nerdtree and airline ... let's see if it still works here
Plug 'gregsexton/MatchTag'
Plug 'luochen1990/rainbow'
" }}}
" Align Code: {{{
" same as tabular but by Junegunn and way easier
Plug 'junegunn/vim-easy-align'
" move function arguments
Plug 'AndrewRadev/sideways.vim'
" }}}
" Neovim: {{{
if has('nvim')
" Highlight Yanked String
Plug 'machakann/vim-highlightedyank'
if !exists('$TMUX')
" simulate tmux shortcuts in neovim
Plug 'hkupty/nvimux'
endif
endif
" }}}
" TMUX: {{{
" " .tmux.conf syntax highlighting
Plug 'keith/tmux.vim', { 'for': 'tmux' }
" " tmux config file stuff
Plug 'tmux-plugins/vim-tmux', { 'on': 'Mux' }
" " vim slime for tmux integration (C-c, C-c to send selction to tmux)
" Plug 'jpalardy/vim-slime', { 'on': 'Mux' }
" seamless tmux/vim pane navigation
Plug 'christoomey/vim-tmux-navigator'
" yet another tmux plugin
Plug 'benmills/vimux', { 'on': 'Mux' }
" " Run Golang tests in vimux
Plug 'julienr/vimux-pyutils', { 'on': 'Mux' }
" " Run elixir mix tests in vimux
" Plug 'spiegela/vimix', { 'on': 'Mux' }
" " Run ruby and elixir tests
" Plug 'jgdavey/vim-turbux', { 'on': 'Mux' }
" " autocomplete using text from tmux
Plug 'wellle/tmux-complete.vim', { 'on': 'Mux' }
" }}}
" Searching: {{{
" highlights all search results and allows tabbing between them
" Plug 'haya14busa/incsearch.vim'
" Sublime text like search results
Plug 'dyng/ctrlsf.vim', { 'on': 'CtrlSF' }
" RipGrep - grep is dead. All hail the new king RipGrep.
Plug 'jremmen/vim-ripgrep'
" }}}
" Navigation: {{{
" navigate to directory of current file using `-`
Plug 'tpope/vim-vinegar'
" Navigate symbols and tags using LSPs/ctags
Plug 'liuchengxu/vista.vim'
" }}}
" NERDTree: {{{
" NERDTree... tree explorer for vim
Plug 'scrooloose/nerdtree'
" Nerdtree show git status
Plug 'Xuyuanp/nerdtree-git-plugin'
" highlight file icons with different colors
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
Plug 'justinmk/vim-dirvish'
" }}}
" Python: {{{
" am I crazy for trying notebooks in vim?
" Plug 'aaren/notedown'
" Plug 'szymonmaszke/vimpyter'
Plug 'goerz/jupytext.vim'
" A nicer Python indentation style for vim
Plug 'Vimjas/vim-python-pep8-indent'
" better python syntax highlighting
Plug 'numirias/semshi', {'do': ':UpdateRemotePlugins'}
" }}}
" Snippets: {{{
" Snippets Engine
"
"Plug 'SirVer/ultisnips'
"
" Snippets are separated from teh engine
Plug 'honza/vim-snippets'
" neosnippet snippets
"Plug 'Shougo/neosnippet'
"Plug 'Shougo/neosnippet-snippets'
" }}}
" Windows, buffers, & panes : {{{
" Zoom windows (default binds to <c-w>m
Plug 'dhruvasagar/vim-zoom'
" Close buffers a bit more sensibly
Plug 'mhinz/vim-sayonara', {'on': 'Sayonara'}
" delete unused buffers
Plug 'schickling/vim-bufonly'
" window animations
Plug 'camspiers/animate.vim'
" resize windows automatically if too small
Plug 'camspiers/lens.vim'
" resize windows in vim naturally
Plug 'simeji/winresizer', { 'on': 'WinResizerStartResize' }
" redirect the output of a command to a buffer
Plug 'AndrewRadev/bufferize.vim'
" }}}
" Other: {{{
" open Finder / Terminal for file under the cursor
" Plug 'justinmk/vim-gtfo'
" replacement for matchit
Plug 'andymass/vim-matchup'
" profiling vim startup
Plug 'tweekmonster/startuptime.vim'
" auto-generate ctags on save
Plug 'jsfaint/gen_tags.vim'
" Multiple cursor emulation (a la Sublime Text) using ctrl-n
Plug 'terryma/vim-multiple-cursors'
" get docs for command under cursor (with Dash or web) (mapped to gK)
Plug 'keith/investigate.vim'
" show trailing white spaces and allow deleting them
Plug 'ntpeters/vim-better-whitespace'
" Indent lines (visual indication)
Plug 'Yggdroot/indentLine'
" syntax for apple scripts
" Plug 'vim-scripts/applescript.vim', { 'for': ['scpt', 'applescript', 'scptd'] }
" Jekyll blog commands
" Plug 'parkr/vim-jekyll'
" Integration testing for vim plugins
" Plug 'junegunn/vader.vim'
" The ultimate undo history visualizer for VIM
Plug 'mbbill/undotree'
" Convert code to multiline
Plug 'AndrewRadev/splitjoin.vim'
" Toggle between different language verbs or syntax styles
" Plug 'AndrewRadev/switch.vim'
" fancy vim start page
Plug 'mhinz/vim-startify'
" copy code as rtf
" Plug 'zerowidth/vim-copy-as-rtf', { 'on': 'CopyRTF' }
" Scratch buffers
Plug 'mtth/scratch.vim'
" interactive scratchpad
Plug 'metakirby5/codi.vim'
" Nvim in Firefox
" Plug 'glacambre/firenvim', { 'do': { _ -> firenvim#install(0) } }
" }}}
" Experiments/Trials: {{{
Plug 'thaerkh/vim-workspace'
" Plug 'liuchengxu/vim-which-key', { 'on': ['WhichKey', 'WhichKey!'] }
" Plug 'psliwka/vim-smoothie' " some very smooth ass scrolling
Plug 'farmergreg/vim-lastplace' " open files at the last edited place
Plug 'machakann/vim-sandwich' " make sandwiches
" Plug 'easymotion/vim-easymotion' " make movement a lot faster and easier
Plug '907th/vim-auto-save' " nothing beats this
" Plug 'kristijanhusak/vim-carbon-now-sh' " lit code Screenshots
Plug 'vimwiki/vimwiki'
Plug 'michal-h21/vim-zettel'
" }}}
call plug#end()