[[plugins]] repo = 'Shougo/ddu.vim' depends = 'denops.vim' lazy = true on_func = 'ddu#start' hook_add = ''' let g:launcher_config.ddu = #{ \ char: 'd', \ run: { -> ddu#start(#{ sources: [#{ name: 'source' }] }) }, \ } nnoremap d Ddu -resume inoremap call ddu#start(#{ \ sources: [ \ #{ name: 'emoji', options: #{ defaultAction: 'feedkeys' } }, \ ], \ uiParams: #{ \ ff: #{ replaceCol: col('.') }, \ }, \ }) ''' hook_source = ''' Runtime dein/settings/ddu.vim ''' [[plugins]] repo = 'Shougo/ddu-commands.vim' depends = 'ddu.vim' lazy = true on_cmd = 'Ddu' # UI [[plugins]] repo = 'Shougo/ddu-ui-ff' [plugins.ftplugin] ddu-ff = ''' setlocal cursorline nnoremap \ call ddu#ui#do_action('itemAction') nnoremap \ call ddu#ui#do_action('toggleSelectItem') xnoremap \ :call ddu#ui#do_action('toggleSelectItem') nnoremap A \ call ddu#ui#do_action('toggleAllItems') nnoremap C \ call ddu#ui#do_action('clearSelectAllItems') nnoremap i \ call ddu#ui#do_action('openFilterWindow') nnoremap \ call ddu#ui#do_action('chooseAction') nnoremap \ call ddu#ui#do_action('refreshItems')redraw nnoremap p \ call ddu#ui#do_action('preview') nnoremap q \ call ddu#ui#do_action('quit') nnoremap E \ call ddu#ui#do_action('itemAction', \ #{ params: eval(input('params: ', "#{}\Left>")) }) ''' ddu-ff-filter = ''' setlocal nocursorline nnoremap q call ddu#ui#do_action('closeFilterWindow') nnoremap call ddu#ui#do_action('closeFilterWindow') inoremap call ddu#ui#do_action('itemAction') inoremap call ddu#ui#do_action('closeFilterWindow') inoremap \ call ddu#ui#ff#execute("call cursor(line('.')+1,0)redraw") inoremap \ call ddu#ui#ff#execute("call cursor(line('.')-1,0)redraw") ''' # filters [[plugins]] repo = 'Shougo/ddu-filter-matcher_hidden' [[plugins]] repo = 'Shougo/ddu-filter-matcher_relative' [[plugins]] repo = 'Shougo/ddu-filter-matcher_substring' [[plugins]] repo = 'yuki-yano/ddu-filter-fzf' # kinds [[plugins]] repo = '4513echo/ddu-kind-url' depends = 'open-browser.vim' [[plugins]] repo = 'Shougo/ddu-kind-file' [[plugins]] repo = 'Shougo/ddu-kind-word' # sources [[plugins]] repo = '4513echo/ddu-source-colorscheme' [[plugins]] repo = '4513echo/ddu-source-emoji' [[plugins]] repo = '4513echo/ddu-source-ghq' [[plugins]] repo = '4513echo/ddu-source-source' [[plugins]] repo = 'kuuote/ddu-source-mr' [[plugins]] repo = 'Shougo/ddu-source-action' [[plugins]] repo = 'Shougo/ddu-source-file' [[plugins]] repo = 'Shougo/ddu-source-file_rec' [[plugins]] repo = 'Shougo/ddu-source-line' [[plugins]] repo = 'Shougo/ddu-source-register' [[plugins]] repo = 'liquidz/ddu-source-custom-list' [[plugins]] repo = 'matsui54/ddu-source-dein_update' [[plugins]] repo = 'matsui54/ddu-source-file_external' [[plugins]] repo = 'matsui54/ddu-source-command_history' [[plugins]] repo = 'matsui54/ddu-source-help' [[plugins]] repo = 'matsui54/ddu-source-man' [[plugins]] repo = 'shun/ddu-source-buffer' [[plugins]] repo = 'shun/ddu-source-rg'