ITADN

"Find next" dialogue triggered when highlighting a pdf file

#1772Openallen-liaoo 创建于 2026-04-15
A
allen-liaoocommented
When I move the highlighted file to a pdf file, the "Find next" dialogue is automatically triggered. Sometimes the filter dialogue is triggered as well, but I have not been able to consistently reproduce that. See screen recording: https://github.com/user-attachments/assets/f38f149b-0538-4319-b763-2f1655b7cf28 I have disabled all custom configs and plugins except for yazi.nvim and showkeys (I can reproduce this without showkeys as well). <details> <summary>yazi.nvim config</summary> ```lua { change_neovim_cwd_on_close = false, clipboard_register = "*", enable_mouse_support = true, floating_window_scaling_factor = 1, forwarded_dds_events = { "nvim-cycle-buffer" }, future_features = { use_cwd_file = true }, highlight_groups = {}, highlight_hovered_buffers_in_same_directory = true, hooks = { on_yazi_ready = <function 1>, yazi_closed_successfully = <function 2>, yazi_opened = <function 3>, yazi_opened_multiple_files = <function 4> }, integrations = { bufdelete_implementation = "bundled-snacks", grep_in_directory = "telescope", grep_in_selected_files = "telescope", pick_window_implementation = "snacks.picker", replace_in_directory = <function 5>, replace_in_selected_files = <function 6>, resolve_relative_path_application = "realpath" }, keymaps = { change_working_directory = "<c-\\>", copy_relative_path_to_selected_files = "<c-y>", cycle_open_buffers = "<tab>", grep_in_directory = "<c-s>", open_and_pick_window = "<c-o>", open_file_in_horizontal_split = "<c-x>", open_file_in_tab = "<c-t>", open_file_in_vertical_split = "<c-v>", replace_in_directory = "<c-g>", send_to_quickfix_list = "<c-q>", show_help = "<f1>" }, log_level = 5, open_file_function = <function 7>, open_for_directories = true, open_multiple_tabs = false, yazi_floating_window_border = "none", yazi_floating_window_winblend = 0 } ``` </details> <details> <summary>checkhealth output</summary> ``` ============================================================================== vim.deprecated: ✅ - ✅ OK No deprecated functions detected ============================================================================== vim.health: 2 ⚠️ System Info ~ - ✅ OK Up to date (0.12.1) - Nvim version: `v0.12.1` - Operating system: Linux 6.19.11 - Terminal: alacritty - $TERM: alacritty Configuration ~ - ⚠️ WARNING Missing user config file: /home/allenl/.config/nvim/init.lua - ADVICE: - :help |config| Runtime ~ - ✅ OK $VIMRUNTIME: /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/share/nvim/runtime Performance ~ - ✅ OK Build type: Release Remote Plugins ~ - ✅ OK Up to date Terminal ~ - key_backspace (kbs) terminfo entry: `key_backspace=\177` - key_dc (kdch1) terminfo entry: `key_dc=\E[3~` - $COLORTERM="truecolor" External Tools ~ - ⚠️ WARNING ripgrep not available - ✅ OK vim.ui.open: handler found (xdg-open) - ✅ OK git version 2.51.2 (/home/allenl/.nix-profile/bin/git) - ✅ OK curl 8.19.0 (/run/current-system/sw/bin/curl) curl 8.19.0 (x86_64-pc-linux-gnu) libcurl/8.19.0 OpenSSL/3.6.1 zlib/1.3.2 brotli/1.1.0 zstd/1.5.7 libidn2/2.3.8 libpsl/0.21.5 libssh2/1.11.1 nghttp2/1.67.1 ngtcp2/1.17.0 nghttp3/1.12.0 mit-krb5/1.22.1 Release-Date: 2026-03-11 Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns mqtt mqtts pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTP3 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd ============================================================================== vim.lsp: ✅ - LSP log level : WARN - Log path: /home/allenl/.local/state/nvim/lsp.log - Log size: 15055 KB vim.lsp: Active Features ~ vim.lsp: Active Clients ~ - No active clients vim.lsp: Enabled Configurations ~ vim.lsp: File Watcher ~ - file watching "(workspace/didChangeWatchedFiles)" disabled on all clients vim.lsp: Position Encodings ~ - No active clients ============================================================================== vim.pack: ✅ vim.pack: basics ~ - ✅ OK `vim.pack` is not used ============================================================================== vim.provider: ✅ Clipboard (optional) ~ - ✅ OK Clipboard tool found: wl-copy Node.js provider (optional) ~ - Disabled (loaded_node_provider=0). Perl provider (optional) ~ - Disabled (loaded_perl_provider=0). Python 3 provider (optional) ~ - Using: g:python3_host_prog = "/nix/store/mmnm32w0fnzz0z39sqri6z3wdrcg458x-nvim-host-python3-3.13.12-env/bin/nvim-python3" - Executable: /nix/store/mmnm32w0fnzz0z39sqri6z3wdrcg458x-nvim-host-python3-3.13.12-env/bin/nvim-python3 - Python version: 3.13.12 - pynvim version: 0.6.0 - ✅ OK Latest pynvim is installed. Python virtualenv ~ - ✅ OK no $VIRTUAL_ENV Ruby provider (optional) ~ - Ruby: 3.4.8 - Host: /nix/store/g7qy9mn58mgvildqlynsnb3yxpaimxf0-neovim-ruby-env/bin/neovim-ruby-host - ✅ OK Latest "neovim" gem is installed: 0.10.0 ============================================================================== vim.treesitter: ✅ Treesitter features ~ - Treesitter ABI support: min 13, max 15 - WASM parser support: false Treesitter parsers ~ - ✅ OK Parser: c ABI: 15, path: /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/lib/nvim/parser/c.so - ✅ OK Parser: lua ABI: 15, path: /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/lib/nvim/parser/lua.so - ✅ OK Parser: markdown ABI: 15, path: /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/lib/nvim/parser/markdown.so - ✅ OK Parser: markdown_inline ABI: 15, path: /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/lib/nvim/parser/markdown_inline.so - ✅ OK Parser: query ABI: 15, path: /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/lib/nvim/parser/query.so - ✅ OK Parser: vim ABI: 15, path: /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/lib/nvim/parser/vim.so - ✅ OK Parser: vimdoc ABI: 15, path: /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/lib/nvim/parser/vimdoc.so Treesitter queries ~ - ✅ OK c folds /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/share/nvim/runtime/queries/c - ✅ OK c highlights /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/share/nvim/runtime/queries/c - ✅ OK c injections /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/share/nvim/runtime/queries/c - ✅ OK lua folds /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/share/nvim/runtime/queries/lua - ✅ OK lua highlights /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/share/nvim/runtime/queries/lua - ✅ OK lua injections /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/share/nvim/runtime/queries/lua - ✅ OK markdown folds /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/share/nvim/runtime/queries/markdown - ✅ OK markdown highlights /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/share/nvim/runtime/queries/markdown - ✅ OK markdown injections /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/share/nvim/runtime/queries/markdown - ✅ OK markdown_inline highlights /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/share/nvim/runtime/queries/markdown_inline - ✅ OK markdown_inline injections /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/share/nvim/runtime/queries/markdown_inline - ✅ OK query folds /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/share/nvim/runtime/queries/query - ✅ OK query highlights /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/share/nvim/runtime/queries/query - ✅ OK vim folds /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/share/nvim/runtime/queries/vim - ✅ OK vim highlights /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/share/nvim/runtime/queries/vim - ✅ OK vim injections /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/share/nvim/runtime/queries/vim - ✅ OK vimdoc highlights /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/share/nvim/runtime/queries/vimdoc - ✅ OK vimdoc injections /nix/store/p3cpz8p3ykz8q8mmp4rpa5mzw6gkkp13-neovim-unwrapped-0.12.1/share/nvim/runtime/queries/vimdoc ============================================================================== yazi: ✅ yazi ~ - Neovim version: Neovim version: 0.12.1, build vim.NIL - Running yazi.nvim version 13.1.5 - Found `yazi` version `Yazi 26.1.22 (Nixpkgs 2026-01-22)` 👍 - yazi.nvim log file is at /home/allenl/.local/state/nvim/yazi.log - hint: use `gf` to open the file path under the cursor - Found `ya` version `Ya 26.1.22 (Nixpkgs 2026-01-22)` 👍 - You have enabled `open_for_directories` in your config. Because of this, please make sure you are loading yazi when Neovim starts. yazi.config ~ - hint: execute the following command to see your configuration: > :lua =require('yazi').config - ✅ OK yazi ``` </details> I am using nixvim to configure neovim, maybe it has something to do with that.
1 条评论