Filter dialog opens automatically when hovering over image files
Related to #1772 (closed), but reproducing on a standard Arch Linux setup without NixOS/nixvim.
### Bug description
When hovering over an image file in yazi opened via :Yazi, the filter/find dialog opens automatically. To close it I have to press <Esc> twice, but it immediately reopens on the next hover. This makes image browsing unusable inside neovim. The bug does not reproduce when running yazi directly in the terminal.
### Versions
* OS: Arch Linux, kernel 6.19.14-arch1-1
* Neovim: v0.12.2
* yazi: 26.1.22
* yazi.nvim: v13.1.5 (commit 172bd64)
* chafa: 1.18.1
### Reproduction
Reproduces consistently:
* with and without tmux
* on multiple terminal emulators: Ghostty, Alacritty, Konsole
### Steps to reproduce
1. Open neovim
2. Run :Yazi
3. Navigate to a directory containing images
4. Hover over an image file
5. Filter dialog opens automatically
### Config
```lua
{
"mikavilpas/yazi.nvim",
version = "13.1.5",
event = "VeryLazy",
dependencies = {
{ "nvim-lua/plenary.nvim", lazy = true },
},
keys = {
{
"<M-f>",
mode = { "n", "i", "v" },
"<cmd>Yazi<cr>",
desc = "Open yazi at the current file",
},
{
"<M-e>",
mode = { "n", "i", "v" },
"<cmd>Yazi cwd<cr>",
desc = "Open the file manager in nvim's working directory",
},
{
mode = { "n", "i", "v" },
"<C-e>",
"<cmd>Yazi toggle<cr>",
desc = "Resume the last yazi session",
},
},
opts = {
open_for_directories = true,
change_neovim_cwd_on_close = false,
highlight_hovered_buffers_in_same_directory = false,
keymaps = {
show_help = "g?",
},
},
init = function()
end,
}
```
2 条评论