Skip to content

gvim :!yazi Linux incorrect response #3798

@Konfekt

Description

@Konfekt

What system are you running Yazi on?

Linux X11

What terminal are you running Yazi in?

gvim 9.2.140

yazi --debug output

zsh $ yazi --debug

Yazi
    Version: 26.1.22 (4e0acf8 2026-01-22)
    Debug  : false
    Triple : x86_64-unknown-linux-gnu (linux-x86_64)
    Rustc  : 1.93.0 (254b5960 2026-01-19)

Ya
    Version: 26.1.22 (4e0acf8 2026-01-22)

Config
    Init             : /home/konfekt/.config/yazi/init.lua (No such file or directory (os error 2))
    Yazi             : /home/konfekt/.config/yazi/yazi.toml (No such file or directory (os error 2))
    Keymap           : /home/konfekt/.config/yazi/keymap.toml (No such file or directory (os error 2))
    Theme            : /home/konfekt/.config/yazi/theme.toml (No such file or directory (os error 2))
    VFS              : /home/konfekt/.config/yazi/vfs.toml (No such file or directory (os error 2))
    Package          : /home/konfekt/.config/yazi/package.toml (No such file or directory (os error 2))
    Dark/light flavor: "" / ""

Emulator
    TERM                : Some("xterm-ghostty")
    TERM_PROGRAM        : Some("ghostty")
    TERM_PROGRAM_VERSION: Some("1.3.0")
    Brand.from_env      : Some(Ghostty)
    Emulator.detect     : Emulator { kind: Left(Ghostty), version: "ghostty 1.3.0", light: true, csi_16t: (13, 23), force_16t: false }

Adapter
    Adapter.matches    : Kgp
    Dimension.available: Dimension { rows: 28, columns: 84, width: 1092, height: 644 }

Desktop
    XDG_SESSION_TYPE           : Some("x11")
    WAYLAND_DISPLAY            : None
    DISPLAY                    : Some(":0")
    SWAYSOCK                   : None
    HYPRLAND_INSTANCE_SIGNATURE: None
    WAYFIRE_SOCKET             : None

SSH
    shared.in_ssh_connection: false

WSL
    WSL: false

Variables
    SHELL              : Some("/bin/zsh")
    EDITOR             : Some("vim")
    VISUAL             : Some("vim")
    YAZI_FILE_ONE      : None
    YAZI_CONFIG_HOME   : None
    YAZI_ZOXIDE_OPTS   : None

Text Opener
    default     : Some(OpenerRule { run: "${EDITOR:-vi} %s", block: true, orphan: false, desc: "$EDITOR", for: None, spread: true })
    block-create: Some(OpenerRule { run: "${EDITOR:-vi} %s", block: true, orphan: false, desc: "$EDITOR", for: None, spread: true })
    block-rename: Some(OpenerRule { run: "${EDITOR:-vi} %s", block: true, orphan: false, desc: "$EDITOR", for: None, spread: true })

Multiplexers
    TMUX               : false
    tmux version       : tmux 3.2a
    tmux build flags   : enable-sixel=Unknown
    ZELLIJ_SESSION_NAME: None
    Zellij version     : No such file or directory (os error 2)

Dependencies
    file          : 5.41
    ueberzugpp    : 2.9.7
    ffmpeg/ffprobe: 4.4.2-0 / 4.4.2-0
    pdftoppm      : 22.02.0
    magick        : No such file or directory (os error 2)
    fzf           : 0.70.0
    fd/fdfind     : 8.3.1 / 8.3.1
    rg            : 13.0.0
    chafa         : 1.8.0
    zoxide        : 0.4.3
    7zz/7z        : 21.07 / 16.02
    resvg         : No such file or directory (os error 2)
    jq            : 1.6

Clipboard
    wl-copy/paste: No such file or directory (os error 2) / No such file or directory (os error 2)
    xclip        : 0.13
    xsel         : 1.2.0

Routine
    `file -bL --mime-type`: text/plain


See https://yazi-rs.github.io/docs/plugins/overview#debugging on how to enable logging or debug runtime errors.

Describe the bug

Running :!yazi with empty config inside gvim --clean -u NONE (empty config) with Yazi 26.1.22 (4e0acf8 2026-01-22) in Ubuntu 22.04 yields

7_Gi=31,s=1,v=1,a=q, t=d, f=24;AAAA\ [>q[16t]11;?[0c1[38;5;9m[1m

Terminal response timeout: [Om[OmThe request sent by Yazi didn't receive a correct response

Please check your terminal environment as per: https: //yazi-rs.github.io/docs/faq#trt

[?1049hP$q q\[?12$p[?u[0c[?2004h[?1004h[?1000h[?1002h[?1003h[?1015h[?1006?[38;5;9m[1m

Terminal response timeout: [Om[OmThe request sent by Yazi didn't receive a correct response

Please check your terminal environment as per: https: //yazi-rs.github.io/docs/faq#trt

]0:yazi - -/[?251[2J[39m[49m[59m[Om]0;yazi - -/debug[?2026h[39m[49m[59m[Om[?251[?20261]0;yazi - -/[?2026h[39m[49m[59m[Om[?251[?2026m[?2026h[39m[49m[59m[oOm[?251
?20261[?2026h[39m[49m[59m[Om[?251[?2026?[?2026h[39m[49m[59m[Om[?2511?20261[?2026h[39m[49m[59m[Om[?251[?20261[?2026h[39m[49m[59mLOm[?2511?2026m[?2026h[39m[49m
S9m[Om[?2511?20261[?2026h[39m[49m[59m[Om[?251[?20262[?2026h[39m[49m[59m[Om[?2511?20261[?2026h[39m[49m[59m[Om[?251[?20269[?2026h[39m[49m[59mLOm[?2511?202611?2
26h[39m[49m[59m[Om[?2511?2026[[?2026h[39m[49m[59m[Om[?251[?20261[?2026h[39m[49m[59m[Om[?2511?20261[?2026h[39m[49m[59mLOm[?251[?20261[?2026h[39m[49m[59m[om[?
51[?20266[?2026h[39m[49m[59m[Om[?251[?20261[?2026h[39m[49m[59m[Om[?251[?20260[?2026h[39m[49m[59m[Om[?251[?202611?2026h[39m[49m[59m[Om[?251[?20261[?2026h[39mL
9m[59m[Om[?251[?20262[?2026h[39m[49m[59m[Om[?251[?202611?2026h[39m[49m[59m[Om[?251[?2026m[?2026h[39m[49m[59m[Om[?251[?202611?2026h[39m[49m[59m[Om[?2511?2026?[
[?2026h[39m[49m[59m[Om[?251[?20261[?2026h[39m[49m[59m[Om[?251[?20261[?2026h[39m[49m[59m[Om[?251[?202611?2026h[39m[49m[59m[Om[?251[?20261[?2026h[39m[49m[59m[O
[?251[?20261[?2026h[39m[49m[59m[Om[?251[?20261[?2026h[39m[49m[59m[Om[?251[?20261[?2026h[39m[49m[59m[Om[?251[?20261[?2026h[39m[49m[59m[Om[?251[?20261[?2026h[3
...

Minimal reproducer

Running :!yazi inside gvim --clean -u NONE with Yazi 26.1.22 (4e0acf8 2026-01-22) in Ubuntu 22.04

Anything else?

Works fine in Gvim in Windows or in Vim in any other terminal. Affirmed with today's musl build sha256:23499aef713ec226f332c01eecd36c43a925baf82914829ba26ca3b0484dc3f1

Checklist

  • I tried the latest nightly build, and the issue is still reproducible
  • I updated the debug information (yazi --debug) input box to the nightly that I tried
  • I can reproduce it after disabling all custom configs/plugins (mv ~/.config/yazi ~/.config/yazi-backup)

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions