/
ddu.toml
687 lines (601 loc) · 17.3 KB
/
ddu.toml
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
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
# ddu plugins
# Core plugins {{{
[[plugins]] # ddu.vim
repo = 'Shougo/ddu.vim'
depends = 'denops.vim'
on_func = 'ddu#start()'
hook_add = '''
" fuzzy finder start keybinds
nnoremap <ff> <Nop>
nmap <Space>d <ff>
nnoremap <ff>a <Cmd>call ddu#start({
\ 'name': 'current-ff',
\ 'sourceOptions': {
\ 'file_rec': {'path': vimrc#search_repo_root()},
\ },
\ })<CR>
nnoremap <ff>d <Cmd>call ddu#start({'name': 'dotfiles-ff'})<CR>
nnoremap <ff>h <Cmd>call ddu#start({'name': 'help-ff'})<CR>
nnoremap <ff>b <Cmd>call ddu#start({'name': 'buffer-ff'})<CR>
nnoremap <ff>P <Cmd>call ddu#start({'name': 'plugin-list-ff'})<CR>
nnoremap <ff>p <Cmd>call ddu#start({'name': 'project-list-ff'})<CR>
nnoremap <ff>~ <Cmd>call ddu#start({'name': 'home-ff'})<CR>
nnoremap <ff>r <Cmd>call ddu#start({'name': 'register-ff'})<CR>
nnoremap <ff>s <Cmd>call ddu#start({
\ 'name': 'search-ff',
\ 'ui': 'ff',
\ 'uiParams': {
\ 'ff': {
\ 'startFilter': v:true,
\ },
\ },
\ 'sources': [{
\ 'name': 'rg',
\ 'params': {'input': input('Pattern: ')},
\ }],
\ })<CR>
nnoremap <ff>m <Cmd>call ddu#start({'name': 'mrr-ff'})<CR>
nnoremap <ff>n <Cmd>call ddu#start({'name': 'mru-ff'})<CR>
" filer start keybins
nnoremap <filer> <Nop>
nmap <Space>f <filer>
nnoremap <filer>r <Cmd>call ddu#start({
\ 'name': 'project_root-filer',
\ 'sourceOptions': {
\ 'file': {'path': Search_repo_root()},
\ },
\ })<CR>
nnoremap <filer>a <Cmd>call ddu#start({
\ 'name': 'current-filer',
\ 'sourceOptions': {
\ 'file': {'path': expand('%:p:h')},
\ },
\ })<CR>
nnoremap <filer>d <Cmd>call ddu#start({'name': 'dotfiles-filer'})<CR>
nnoremap <filer>h <Cmd>call ddu#start({'name': 'home-filer'})<CR>
'''
hook_source = '''
" Global option and param
call ddu#custom#patch_global({
\ 'uiOptions': {
\ 'filer': {
\ 'toggle': v:true,
\ },
\ },
\ 'uiParams': {
\ 'ff': {
\ 'previewFloating': v:true,
\ 'split': 'floating',
\ 'prompt': '',
\ 'filterSplitDirection': 'floating',
\ 'displaySourceName': 'long',
\ 'floatingBorder': 'single',
\ 'previewFloatingBorder': 'single',
\ 'filterFloatingPosition': 'top',
\ },
\ 'filer': {
\ 'split': 'vertical',
\ 'splitDirection': 'topleft',
\ 'winWidth': &columns /6,
\ },
\ },
\ 'sourceOptions': {
\ '_': {
\ 'ignoreCase': v:true,
\ 'matchers': ['matcher_substring'],
\ },
\ 'file': {
\ 'columns': ['icon_filename'],
\ },
\ 'dein': {
\ 'defaultAction': 'cd',
\ },
\ 'help': {
\ 'defaultAction': 'open',
\ },
\ },
\ 'sourceParams': {
\ 'dein_update': {
\ 'useGraphQL': v:true,
\ },
\ 'marks': {
\ 'jumps': v:true,
\ },
\ 'rg': {
\ 'arg': [
\ '--ignore-case', '--column', '--no-heading', '--color', 'never',
\ ],
\ },
\ },
\ 'kindOptions': {
\ 'file': {
\ 'defaultAction': 'open',
\ },
\ 'action': {
\ 'defaultAction': 'do',
\ },
\ 'word': {
\ 'defaultAction': 'append',
\ },
\ 'deol': {
\ 'defaultAction': 'switch',
\ },
\ 'readme_viewer': {
\ 'defaultAction': 'open',
\ },
\ },
\ 'actionOptions': {
\ 'narrow': {'quit': v:false},
\ 'echo': {'quit': v:false},
\ 'echoDiff': {'quit': v:false},
\ },
\ 'columnParams': {
\ 'icon_filename': {
\ 'span': 2,
\ 'iconWidth': 2,
\ 'defaultIcon': {
\ 'icon': '',
\ },
\ },
\ },
\ })
" UI:ff presets
call ddu#custom#patch_local('current-ff', {
\ 'ui': 'ff',
\ 'uiParams': {
\ 'ff': {
\ 'startFilter': v:true,
\ },
\ },
\ 'sources': [{'name': 'file_rec'}],
\ })
call ddu#custom#patch_local('dotfiles-ff', {
\ 'ui': 'ff',
\ 'uiParams': {
\ 'ff': {
\ 'startFilter': v:true,
\ },
\ },
\ 'sourceOptions': {
\ 'file_rec': {'path': expand('~/dotfiles')},
\ },
\ 'sources': [{'name': 'file_rec'}],
\ })
call ddu#custom#patch_local('project-list-ff', {
\ 'ui': 'ff',
\ 'uiParams': {
\ 'ff': {
\ 'startFilter': v:true,
\ },
\ },
\ 'sourceOptions': {
\ 'file': {'path': expand('~/Project')},
\ },
\ 'sources': [{'name': 'file'}],
\ })
call ddu#custom#patch_local('help-ff', {
\ 'ui': 'ff',
\ 'uiParams': {
\ 'ff': {
\ 'startFilter': v:true,
\ },
\ },
\ 'sources': [
\ {'name': 'help'},
\ {'name': 'readme_viewer'},
\ ],
\ })
call ddu#custom#patch_local('buffer-ff', {
\ 'ui': 'ff',
\ 'sources': [{'name': 'buffer'}],
\ })
call ddu#custom#patch_local('plugin-list-ff', {
\ 'ui': 'ff',
\ 'uiParams': {
\ 'ff': {
\ 'startFilter': v:true,
\ }
\ },
\ 'sources': [{'name': 'dein'}],
\ })
call ddu#custom#patch_local('home-ff', {
\ 'ui': 'ff',
\ 'uiParams': {
\ 'ff': {
\ 'startFilter': v:true,
\ },
\ },
\ 'sourceOptions': {
\ 'file': {'path': expand('~')},
\ },
\ 'sources': [{'name': 'file'}],
\ })
call ddu#custom#patch_local('register-ff', {
\ 'ui': 'ff',
\ 'sources': [{'name': 'register'}],
\ })
call ddu#custom#patch_local('mrr-ff', #{
\ ui: 'ff',
\ uiParams: #{
\ ff: #{
\ startFilter: v:true,
\ },
\ },
\ sources: [#{
\ name: 'mr',
\ params: #{
\ kind: 'mrr',
\ current: v:false,
\ },
\ }],
\ })
call ddu#custom#patch_local('mru-ff', #{
\ ui: 'ff',
\ uiParams: #{
\ ff: #{
\ startFilter: v:true,
\ },
\ },
\ sources: [#{
\ name: 'mr',
\ params: #{
\ kind: 'mru',
\ current: v:true,
\ },
\ }],
\ })
" UI:filer presets
call ddu#custom#patch_local('current-filer', {
\ 'ui': 'filer',
\ 'sources': [{'name': 'file'}],
\ })
call ddu#custom#patch_local('project_root-filer', {
\ 'ui': 'filer',
\ 'sources': [{'name': 'file'}],
\ })
call ddu#custom#patch_local('dotfiles-filer', {
\ 'ui': 'filer',
\ 'sources': [{'name': 'file'}],
\ 'sourceOptions': {
\ 'file': {
\ 'path': expand('~/dotfiles'),
\ },
\ },
\ })
call ddu#custom#patch_local('home-filer', {
\ 'ui': 'filer',
\ 'sources': [{'name': 'file'}],
\ 'sourceOptions': {
\ 'file': {
\ 'path': expand('~'),
\ },
\ },
\ })
'''
# }}}
# UI plugins {{{
[[plugins]] # ddu-ui-ff
repo = 'Shougo/ddu-ui-ff'
on_source = 'ddu.vim'
[plugins.ftplugin] # ddu-ui-ff keybinds
ddu-ff = '''
" Open file keybinds. {{{
nnoremap <buffer><silent> <CR>
\ <Cmd>call ddu#ui#ff#do_action('itemAction')<CR>
nnoremap <buffer> o
\ <Cmd>call ddu#ui#ff#do_action('itemAction', {'name': 'open', 'params': {'command': 'drop'}})<CR>
" Open file with horizontal window.
nnoremap <buffer> s
\ <Cmd>call ddu#ui#ff#do_action('itemAction',
\ {'name': 'open', 'params': {'command': 'split'}})<CR>
" Open file with vertical window.
nnoremap <buffer> v
\ <Cmd>call ddu#ui#ff#do_action('itemAction',
\ {'name': 'open', 'params': {'command': 'vsplit'}})<CR>
" Open file with another tab.
nnoremap <buffer> t
\ <Cmd>call ddu#ui#ff#do_action('itemAction',
\ {'name': 'open', 'params': {'command': 'tabedit'}})<CR>
" }}}
" Multiple selection.
nnoremap <buffer> <Space>
\ <Cmd>call ddu#ui#ff#do_action('toggleSelectItem')<CR>
nnoremap <buffer> *
\ <Cmd>cal ddu#ui#ff#do_action('toggleAllItems')<CR>
" fuzzy finder controll keybinds {{{
" Open selection menu.
nnoremap <buffer> a
\ <Cmd>call ddu#ui#ff#do_action('chooseAction')<CR>
" Open filter Window.
nnoremap <buffer> i
\ <Cmd>call ddu#ui#ff#do_action('openFilterWindow')<CR>
" Open preview window.
nnoremap <buffer> p
\ <Cmd>call ddu#ui#ff#do_action('preview')<CR>
nnoremap <buffer> <C-l>
\ <Cmd>call ddu#ui#ff#do_action('refreshItems')<CR>
" Close ddu window.
nnoremap <buffer> q
\ <Cmd>call ddu#ui#ff#do_action('quit')<CR>
nnoremap <buffer> <Esc>
\ <Cmd>call ddu#ui#ff#do_action('quit')<CR>
" Wrap when moving to the beginning and end of a line
nnoremap <buffer><expr> j
\ line('.') == line('$') ?
\ 'gg' : 'j'
nnoremap <buffer><expr> k
\ line('.') == 1 ?
\ 'G' : 'k'
" }}}
'''
ddu-ff-filter = '''
" fuzzy finder filter keybinds on insert mode {{{
inoremap <buffer> <CR>
\ <Esc><Cmd>close<CR>
inoremap <buffer> jj
\ <Esc><Cmd>close<CR>
inoremap <buffer> <Esc>
\ <Esc><Cmd>close<CR>
" fuzzy finder filter keybinds on normal mode
nnoremap <buffer> <CR>
\ <Cmd>close<CR>
nnoremap <buffer> q
\ <Cmd>close<CR>
nnoremap <buffer> jj
\ <Cmd>close<CR>
nnoremap <buffer> <Esc>
\ <Esc><Cmd>close<CR>
" }}}
'''
[[plugins]] # ddu-ui-filer
repo = 'Shougo/ddu-ui-filer'
on_source = 'ddu.vim'
[plugins.ftplugin] # ddu-ui-filer keybinds
ddu-filer = '''
" Open of file or directory.{{{
" Open file or expand directory when directory.
" Directory is expanded in tree type.
" If you select a file that is already open, go to the open screen.
nnoremap <buffer><expr> <CR>
\ ddu#ui#filer#is_tree() ?
\ "<Cmd>call ddu#ui#filer#do_action('expandItem', {'mode': 'toggle'})<CR>" :
\ "<Cmd>call ddu#ui#filer#do_action('itemAction', {'name': 'open', 'params': {'command': 'drop'}})<CR>"
" Open file with vertical split.
nnoremap <buffer> v
\ <Cmd>call ddu#ui#filer#do_action('itemAction', {'name': 'open', 'params': {'command': 'vsplit'}})<CR>
" Open file with horizontal split.
nnoremap <buffer> s
\ <Cmd>call ddu#ui#filer#do_action('itemAction', {'name': 'open', 'params': {'command': 'split'}})<CR>
" Open file with another tab window.
nnoremap <buffer> t
\ <Cmd>call ddu#ui#filer#do_action('itemAction', {'name': 'open', 'params': {'command': 'tabedit'}})<CR>
" }}}
" Operation of file or directory keybinds {{{
" Copy file or directory.
nnoremap <buffer> C
\ <Cmd>call ddu#ui#filer#multi_actions([
\ ['itemAction', {'name': 'copy'}],
\ ['clearSelectAllItems'],
\ ])<CR>
" Move file or directory.
nnoremap <buffer> M
\ <Cmd>call ddu#ui#filer#multi_actions([
\ ['itemAction', {'name': 'move'}],
\ ['clearSelectAllItems'],
\ ])<CR>
" Paste file or directory.
nnoremap <buffer> P
\ <Cmd>call ddu#ui#filer#do_action('itemAction', {'name': 'paste'})<CR>
" Rename file or directory.
nnoremap <buffer> R
\ <Cmd>call ddu#ui#filer#do_action('itemAction', {'name': 'rename'})<CR>
" Delete file or directory.
nnoremap <buffer> [delete] <Nop>
nmap <buffer> d [delete]
nnoremap <buffer> [delete]d
\ <Cmd>call ddu#ui#filer#do_action('itemAction', {'name': 'trash'})<CR>
nnoremap <buffer> [delete]D
\ <Cmd>call ddu#ui#filer#do_action('itemAction', {'name': 'delete'})<CR>
" make new file or directory.
nnoremap <buffer> N
\ <Cmd>call ddu#ui#filer#do_action('itemAction', {'name': 'newFile'})<CR>
" Path operation in filer.
" Yank path the file or directory.
nnoremap <buffer> y
\ <Cmd>call ddu#ui#filer#do_action('itemAction', {'name': 'yank'})<CR>
\ <Cmd>echo 'Yanke path the "' . getreg('+') . '"'<CR>
" }}}
" Changes directory keybinds {{{
" Change current directory.
nnoremap <buffer> c
\ <Cmd>call Filer_change_dir()<CR>
" Move to parent directory.
nnoremap <buffer> h
\ <Cmd>call Filer_parent_dir()<CR>
" Move to previous directory.
nnoremap <buffer> l
\ <Cmd>call Filer_prev_dir()<CR>
" Move to first directory.
nnoremap <buffer> f
\ <Cmd>call Filer_first_dir()<CR>
" Move to directory of inputed path.
nnoremap <buffer> I
\ <Cmd>call Filer_input_dir()<CR>
" Move to home path.
nnoremap <buffer> ~
\ <Cmd>call ddu#ui#filer#do_action('itemAction', {'name': 'narrow', 'params': {'path': expand('~')}})<CR>
" }}}
" Other filer keybinds...{{{
" select file action.
nnoremap <buffer> a
\ <Cmd>call ddu#ui#filer#do_action('chooseAction')<CR>
nnoremap <buffer> o
\ <Cmd>call ddu#ui#filer#do_action('expandItem', {'mode': 'toggle'})<CR>
nnoremap <buffer> O
\ <Cmd>call ddu#ui#filer#do_action('expandItem', {'maxLevel': -1})<CR>
" multiple files selection
nnoremap <buffer> <Space>
\ <Cmd>call ddu#ui#filer#do_action('toggleSelectItem')<CR>
nnoremap <buffer> *
\ <Cmd>call ddu#ui#filer#do_action('toggleAllItems')<CR>
nnoremap <buffer> >
\ <Cmd>call ddu#ui#filer#do_action('updateOptions', {
\ 'sourceOptions': {
\ 'file': {
\ 'matchers': ToggleHidden('file'),
\ },
\},
\})<CR>
nnoremap <buffer> / <Cmd>call ddu#start({
\ 'name': 'current-ff',
\ 'sourceOptions': {
\ 'file_rec': {'path': fnamemodify(b:ddu_ui_filer_path, ':p:h')},
\ },
\ })<CR>
" }}}
nnoremap <buffer> <C-l>
\ <Cmd>call ddu#ui#filer#do_action('checkItems')<CR>
nnoremap <buffer> q
\ <Cmd>call ddu#ui#filer#do_action('quit')<CR>
nnoremap <buffer> <ESC>
\ <Cmd>call ddu#ui#filer#do_action('quit')<CR>
" Wrap when moving to the beginning and end of a line
nnoremap <silent><buffer><expr> j
\ line('.') == line('$') ?
\ 'ggj' : 'j'
nnoremap <silent><buffer><expr> k
\ line('.') == 2 ?
\ 'G' : 'k'
" UI:filer functions of custom keybind. {{{
" Moving directory paths.
let g:ddu_ui_filer_prev_dirs = {}
function! Filer_parent_dir() abort
if b:ddu_ui_filer_path == '/'
echo 'Cannot go back because it is the root directory.'
return
endif
if !exists('g:ddu_ui_filer_prev_dirs[b:ddu_ui_name]')
let g:ddu_ui_filer_prev_dirs[b:ddu_ui_name] = []
endif
call add(g:ddu_ui_filer_prev_dirs[b:ddu_ui_name], b:ddu_ui_filer_path)
call ddu#ui#filer#do_action('itemAction', {'name': 'narrow', 'params': {'path': '..'}})
endfunction
function! Filer_change_dir() abort
if !exists('g:ddu_ui_filer_prev_dirs[b:ddu_ui_name]')
let g:ddu_ui_filer_prev_dirs[b:ddu_ui_name] = []
endif
call add(g:ddu_ui_filer_prev_dirs[b:ddu_ui_name], b:ddu_ui_filer_path)
call ddu#ui#filer#do_action('itemAction', {'name': 'narrow'})
endfunction
function! Filer_prev_dir() abort
if exists('g:ddu_ui_filer_prev_dirs[b:ddu_ui_name]')
if empty(g:ddu_ui_filer_prev_dirs[b:ddu_ui_name])
echo 'Not found previous directory.'
return
endif
else
echo 'The directory has not been changed with this filer.'
let g:ddu_ui_filer_prev_dirs[b:ddu_ui_name] = []
return
endif
let prev_dir_count = len(g:ddu_ui_filer_prev_dirs[b:ddu_ui_name]) - 1
let prev_dir_path = g:ddu_ui_filer_prev_dirs[b:ddu_ui_name][prev_dir_count]
call remove(g:ddu_ui_filer_prev_dirs[b:ddu_ui_name], prev_dir_count)
call ddu#ui#filer#do_action('itemAction', {'name': 'narrow', 'params': {'path': prev_dir_path}})
endfunction
function! Filer_first_dir() abort
if exists('g:ddu_ui_filer_prev_dirs[b:ddu_ui_name]')
if empty(g:ddu_ui_filer_prev_dirs[b:ddu_ui_name])
echo "Maybe here is the first directory..."
return
endif
else
echo 'The directory has not been changed with this filer.'
let g:ddu_ui_filer_prev_dirs[b:ddu_ui_name] = []
return
endif
let first_dir = g:ddu_ui_filer_prev_dirs[b:ddu_ui_name][0]
let index_max_value = len(g:ddu_ui_filer_prev_dirs[b:ddu_ui_name]) - 1
call remove(g:ddu_ui_filer_prev_dirs[b:ddu_ui_name], 0, index_max_value)
call ddu#ui#filer#do_action('itemAction', {'name': 'narrow', 'params': {'path': first_dir}})
endfunction
function! Filer_input_dir() abort
if exists('g:ddu_ui_filer_prev_dirs[b:ddu_ui_name]')
if !empty(g:ddu_ui_filer_prev_dirs[b:ddu_ui_name])
call remove(g:ddu_ui_filer_prev_dirs[b:ddu_ui_name], 0, len(g:ddu_ui_filer_prev_dirs[b:ddu_ui_name]) - 1)
endif
else
echo 'The directory has not been changed with this filer.'
let g:ddu_ui_filer_prev_dirs[b:ddu_ui_name] = []
return
endif
let input_dir = fnamemodify(input('New cwd: ', b:ddu_ui_filer_path, 'dir'), ':p')
call ddu#ui#filer#do_action('itemAction', {'name': 'narrow', 'params': {'path': input_dir}})
endfunction
" Toggle show hidden file.
function! ToggleHidden(name)
let current = ddu#custom#get_current(b:ddu_ui_name)
let source_options = get(current, 'sourceOptions', {})
let source_options_name = get(source_options, a:name, {})
let matchers = get(source_options_name, 'matchers', [])
return empty(matchers) ? ['matcher_hidden'] : []
endfunction
" }}}
autocmd TabEnter,CursorHold,FocusGained <buffer> call ddu#ui#filer#do_action('checkItems')
'''
# }}}
# Kind plugins {{{
[[plugins]] # ddu-kind-file
repo = 'Shougo/ddu-kind-file'
on_source = 'ddu.vim'
[[plugins]] # ddu-kind-word
repo = 'Shougo/ddu-kind-word'
on_source = 'ddu.vim'
# }}}
# Source plugins {{{
[[plugins]] # ddu-source-file
repo = 'Shougo/ddu-source-file'
on_source = 'ddu.vim'
[[plugins]] # ddu-source-file_rec
repo = 'Shougo/ddu-source-file_rec'
on_source = 'ddu.vim'
[[plugins]] # ddu-source-help
repo = 'matsui54/ddu-source-help'
on_source = 'ddu.vim'
[[plugins]] # vim-readme-viewer
repo = '4513ECHO/vim-readme-viewer'
on_cmd = 'ReadmeOpen'
on_source = 'ddu.vim'
hook_add = '''
let g:readme_viewer#plugin_manager = 'dein.vim'
'''
[[plugins]] # ddu-source-buffer
repo = 'shun/ddu-source-buffer'
on_source = 'ddu.vim'
[[plugins]] # ddu-source-action
repo = 'Shougo/ddu-source-action'
on_source = 'ddu.vim'
[[plugins]] # ddu-source-register
repo = 'Shougo/ddu-source-register'
on_source = 'ddu.vim'
[[plugins]] # ddu-source-rg
repo = 'shun/ddu-source-rg'
on_source = 'ddu.vim'
[[plugins]] # ddu-source-mr
repo = 'kuuote/ddu-source-mr'
on_source = 'ddu.vim'
# }}}
# Filter plugins {{{
[[plugins]] # ddu-filter-matcher_substring
repo = 'Shougo/ddu-filter-matcher_substring'
on_source = 'ddu.vim'
[[plugins]] # ddu-filter-matcher_hidden
repo = 'Shougo/ddu-filter-matcher_hidden'
on_source = 'ddu.vim'
[[plugins]] # ddu-filter-matcher_relative
repo = 'Shougo/ddu-filter-matcher_relative'
on_source = 'ddu.vim'
# }}}
[[plugins]] # ddu-column-icon_filename
repo = 'ryota2357/ddu-column-icon_filename'
on_source = 'ddu.vim'