Warning: I will close the issue without the minimal init.vim and the
reproduction instructions.
Problems summary
I want it to back into normal mode after "leaveFilterWindow" is called, but when I map the <esc> immediately after it, filter buffer behaves that revive the content when I erase it all.
Expected
Never revive when I erase the filter content.
Environment Information
ddu-ui-ff version (SHA1): 9dd9ae9da9b8d65916dd44e0e4d881665397de63 (current HEAD)
denops.vim version (SHA1): 9dd9ae9da9b8d65916dd44e0e4d881665397de63 (current HEAD)
How to reproduce the problem from neovim/Vim startup (Required!)
call ddu#start()
type <c-f> to open filter
type hoge<cr> (then only "hoge" is shown in the list)
type <c-f> to re-open filter
type <bs><bs><bs><bs> (4 times <bs>) to erase filter value
type fuga<cr> (then only "fuga" is shown in the list)
type <c-f> to re-open filter
type <bs><bs><bs><bs> (4 times <bs>) to erase filter value
Then, I expect the filter value is empty, but it is "fuga".
And strangely, there are 3 buffers are shown in the list.
If we type more to move cursor or change value of the filter, and repeat <cr> (leaveFilterWindow + <esc>) and openFilterWindow,, it behaves more and more strangely.
Warning: I will close the issue without the minimal init.vim and the reproduction instructions.
Problems summary
I want it to back into normal mode after "leaveFilterWindow" is called, but when I map the
<esc>
immediately after it, filter buffer behaves that revive the content when I erase it all.Expected
Never revive when I erase the filter content.
Environment Information
ddu-ui-ff version (SHA1):
9dd9ae9da9b8d65916dd44e0e4d881665397de63
(current HEAD)denops.vim version (SHA1):
9dd9ae9da9b8d65916dd44e0e4d881665397de63
(current HEAD)deno version(
deno -V
output):OS: arch-linux
neovim/Vim
:version
output:Provide a minimal init.vim/vimrc without plugin managers (Required!)
How to reproduce the problem from neovim/Vim startup (Required!)
call ddu#start()
<c-f>
to open filterhoge<cr>
(then only "hoge" is shown in the list)<c-f>
to re-open filter<bs><bs><bs><bs>
(4 times<bs>
) to erase filter valuefuga<cr>
(then only "fuga" is shown in the list)<c-f>
to re-open filter<bs><bs><bs><bs>
(4 times<bs>
) to erase filter valueThen, I expect the filter value is empty, but it is "fuga". And strangely, there are 3 buffers are shown in the list.
If we type more to move cursor or change value of the filter, and repeat
<cr>
(leaveFilterWindow
+<esc>
) andopenFilterWindow,
, it behaves more and more strangely.Screenshot (if possible)
https://gyazo.com/026f90163bca6f73ba23fcb974f785aa
Upload the log messages by
:redir
and:message
(if errored)