" " hook_add {{{ " nnoremap f Ddu file_external \ -name=ff-file -ui=ff -resume nnoremap m Ddu mr \ -name=ff-mr -ui=ff nnoremap b Ddu buffer \ -name=ff-mr -ui=ff nnoremap c Ddu file_external \ -name=ff-rc -ui=ff -resume \ -source-option-file_external-path='`expand('~/.config/vim')`' nnoremap g Ddu rg \ -name=ff-grep -ui=ff -resume nnoremap h Ddu help \ -name=ff-help -ui=ff -resume " nnoremap p Ddu dein " \ -name=ff-plugin -ui=ff -resume " }}} " " hook_source {{{ " call ddu#custom#patch_global(#{ \ uiParams: #{ \ ff: #{ \ filterSplitDirection: has('nvim') ? 'floating' : 'bottomright', \ filterFloatingPosition: 'top', \ }, \ }, \ }) " }}} " " ddu-ff {{{ " nnoremap \ call ddu#ui#do_action('itemAction') nnoremap i \ call ddu#ui#do_action('openFilterWindow') " }}} " " ddu-ff-filter {{{ " inoremap \ call ddu#ui#do_action('closeFilterWindow') nnoremap \ call ddu#ui#do_action('closeFilterWindow') nnoremap q \ call ddu#ui#do_action('quit') " }}}