[[plugins]] repo = 'Shougo/ddu.vim' hook_add = ''' augroup StartDdu autocmd! " ~/dotfiles/nvim/denops/vimrc/plugins/ddu.ts autocmd User DenopsPluginPost:vimrc call denops#request('vimrc', 'ddu_setup', []) augroup END ''' [[plugins]] repo = 'Shougo/ddu-commands.vim' lazy = 1 on_cmd = 'Ddu' [[plugins]] repo = 'Shougo/ddu-ui-ff' [plugins.ftplugin] ddu-ff = ''' nnoremap \ call ddu#ui#do_action('itemAction') nnoremap , \ call ddu#ui#do_action('toggleSelectItem')j nnoremap i \ call ddu#ui#do_action('openFilterWindow') nnoremap q \ call ddu#ui#do_action('quit') nnoremap p \ call ddu#ui#do_action('preview') nnoremap a \ call ddu#ui#do_action('chooseAction') nnoremap c \ call ddu#ui#do_action('itemAction', {'name': 'cd'}) nnoremap d \ call ddu#ui#do_action('itemAction', {'name': 'delete'}) nnoremap e \ call ddu#ui#do_action('itemAction', {'name': 'edit'}) nnoremap o \ call ddu#ui#do_action('expandItem', \ {'mode': 'toggle'}) nnoremap O \ call ddu#ui#do_action('expandItem', \ {'maxLevel': -1}) nnoremap E \ call ddu#ui#do_action('itemAction', \ {'name': 'open', 'params': {'command': 'vsplit'}}) nnoremap t \ call ddu#ui#do_action('itemAction', \ {'name': 'open', 'params': {'command': 'tabedit'}}) nnoremap S \ call ddu#ui#do_action('itemAction', \ {'name': 'open', 'params': {'command': 'split'}}) ''' ddu-ff-filter = ''' nnoremap q call ddu#ui#do_action('closeFilterWindow') inoremap call ddu#ui#do_action('closeFilterWindow') inoremap call ddu#ui#do_action('closeFilterWindow') ''' [[plugins]] repo = 'Shougo/ddu-ui-filer' [plugins.ftplugin] ddu-filer = ''' nnoremap , \ call ddu#ui#do_action('toggleSelectItem')j nnoremap * \ call ddu#ui#do_action('toggleAllItems') nnoremap a \ call ddu#ui#do_action('chooseAction') nnoremap q \ call ddu#ui#do_action('quit') nnoremap o \ call ddu#ui#do_action('expandItem', \ {'mode': 'toggle'}) nnoremap O \ call ddu#ui#do_action('expandItem', \ {'maxLevel': -1}) "nnoremap O "\ call ddu#ui#do_action('collapseItem') nnoremap c \ call ddu#ui#multi_actions([ \ ['itemAction', {'name': 'copy'}], \ ['clearSelectAllItems'], \ ]) nnoremap d \ call ddu#ui#do_action('itemAction', \ {'name': 'trash'}) nnoremap D \ call ddu#ui#do_action('itemAction', \ {'name': 'delete'}) nnoremap m \ call ddu#ui#do_action('itemAction', \ {'name': 'move'}) nnoremap r \ call ddu#ui#do_action('itemAction', \ {'name': 'rename'}) nnoremap x \ call ddu#ui#do_action('itemAction', \ {'name': 'executeSystem'}) nnoremap P \ call ddu#ui#do_action('itemAction', \ {'name': 'paste'}) nnoremap K \ call ddu#ui#do_action('itemAction', \ {'name': 'newDirectory'}) nnoremap N \ call ddu#ui#do_action('itemAction', \ {'name': 'newFile'}) nnoremap ~ \ call ddu#ui#do_action('itemAction', \ {'name': 'narrow', 'params': {'path': expand('~')}}) nnoremap h \ call ddu#ui#do_action('itemAction', \ {'name': 'narrow', 'params': {'path': ".."}}) nnoremap I \ call ddu#ui#do_action('itemAction', \ {'name': 'narrow', 'params': {'path': \ fnamemodify(input('New cwd: ', b:ddu_ui_filer_path, 'dir'), ':p')}}) nnoremap > \ call ddu#ui#do_action('updateOptions', { \ 'sourceOptions': { \ 'file': { \ 'matchers': toggle_hidden('file'), \ }, \ }, \ }) nnoremap \ call ddu#ui#do_action('checkItems') nnoremap \ get(ddu#ui#get_item(), 'isTree', v:false) ? \ "call ddu#ui#do_action('itemAction', #{ name: 'narrow' })" : \ "call ddu#ui#do_action('itemAction', #{ name: 'open' })" nnoremap l \ get(ddu#ui#get_item(), 'isTree', v:false) ? \ "call ddu#ui#do_action('itemAction', #{ name: 'narrow' })" : \ "call ddu#ui#do_action('itemAction', #{ name: 'open' })" function! s:toggle_hidden(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 ''' [[plugins]] repo = 'Shougo/ddu-source-file_old' [[plugins]] repo = 'Shougo/ddu-source-line' [[plugins]] repo = 'Shougo/ddu-source-file' [[plugins]] repo = 'Shougo/ddu-source-action' [[plugins]] repo = 'Shougo/ddu-source-file_rec' [[plugins]] repo = 'yuki-yano/ddu-filter-fzf' [[plugins]] repo = 'Shougo/ddu-kind-file' [[plugins]] repo = 'Shougo/ddu-filter-matcher_substring' [[plugins]] repo = 'matsui54/ddu-source-file_external' [[plugins]] repo = 'matsui54/ddu-source-help' [[plugins]] repo = 'matsui54/ddu-source-man' [[plugins]] repo = 'matsui54/ddu-filter-fzy' [[plugins]] repo = 'matsui54/ddu-source-command_history' [[plugins]] repo = 'matsui54/ddu-source-highlight' [[plugins]] repo = 'shun/ddu-source-buffer' [[plugins]] repo = 'shun/ddu-source-rg' [[plugins]] repo = "gamoutatsumi/ddu-source-nvim-lsp" [[plugins]] repo = "4513ECHO/ddu-source-source" [[plugins]] repo = 'matsui54/ddu-source-dein_update' [[plugins]] repo = 'matsui54/ddu-vim-ui-select' [[plugins]] repo = 'Shougo/ddu-column-filename' [[plugins]] repo = "Milly/ddu-filter-kensaku" [[plugins]] repo = "lambdalisue/kensaku.vim" [[plugins]] repo = 'ryota2357/ddu-column-icon_filename'