Closed matsui54 closed 2 years ago
Filter windows are created every time items are enqueued.
Neovim v0.7.0
set runtimepath+=~/.cache/dein/repos/github.com/vim-denops/denops.vim set runtimepath+=~/.cache/dein/repos/github.com/Shougo/ddu.vim set runtimepath+=~/.cache/dein/repos/github.com/Shougo/ddu-ui-ff set runtimepath+=~/.cache/dein/repos/github.com/Shougo/ddu-kind-file set runtimepath+=~/.cache/dein/repos/github.com/Shougo/ddu-source-file_rec nnoremap <Space>f \ <Cmd>call ddu#start({'sources': [{'name': 'file_rec'}]})<CR> call ddu#custom#patch_global({ \ 'ui': 'ff', \ 'uiParams': {'ff': { \ 'split': 'floating', \ 'autoResize': v:true, \ }}, \ }) autocmd FileType ddu-ff call s:ddu_ff_my_settings() function! s:ddu_ff_my_settings() abort nnoremap <buffer> i \ <Cmd>call ddu#ui#ff#do_action('openFilterWindow')<CR> nnoremap <buffer> q \ <Cmd>call ddu#ui#ff#do_action('quit')<CR> endfunction autocmd FileType ddu-ff-filter call s:ddu_filter_my_settings() function! s:ddu_filter_my_settings() abort inoremap <buffer> <CR> <Esc><Cmd>close<CR> endfunction
<Space>f
i
<CR>
Thank you, but though I closed the filter window, the filter window is automatically opened when the items are enqueued.
Fixed. Please update.
It seems fixed. Thank you!
Problem
Filter windows are created every time items are enqueued.
Environment
Neovim v0.7.0
Minimal vimrc
Reproduce steps
<Space>f
(start ddu)i
(open filter window) immediately after the ddu window appears<CR>
(close filter window) immediately after the filter window appearsScreenshot