Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fzf plugin can't specify args. #2232

Closed
3 tasks done
voronind-com opened this issue Jan 22, 2025 · 3 comments
Closed
3 tasks done

Fzf plugin can't specify args. #2232

voronind-com opened this issue Jan 22, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@voronind-com
Copy link

voronind-com commented Jan 22, 2025

What system are you running Yazi on?

Linux Wayland

What terminal are you running Yazi in?

foot version: 1.19.0 +pgo +ime +graphemes +toplevel-icon -assertions

yazi --debug output

Yazi
    Version: 0.3.3 (Nixpkgs 2024-09-04)
    Debug  : false
    OS     : linux-x86_64 (unix)

Ya
    Version: 0.3.3 (Nixpkgs 2024-09-04)

Emulator
    Emulator.via_env: ("xterm-256color", "tmux")
    Emulator.via_csi: Ok(Foot)
    Emulator.detect : Foot

Adapter
    Adapter.matches: Sixel

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

SSH
    shared.in_ssh_connection: true

WSL
    WSL: false

Variables
    SHELL              : Some("/run/current-system/sw/bin/bash")
    EDITOR             : Some("nvim")
    VISUAL             : None
    YAZI_FILE_ONE      : None
    YAZI_CONFIG_HOME   : None

Text Opener
    default: Some(Opener { run: "nvim \"$@\"", block: true, orphan: false, desc: "Text", for_: None, spread: true })
    block  : Some(Opener { run: "nvim \"$@\"", block: true, orphan: false, desc: "Text", for_: None, spread: true })

Multiplexers
    TMUX               : true
    tmux version       : 3.6
    ZELLIJ_SESSION_NAME: None
    Zellij version     : No such file or directory (os error 2)

Dependencies
    file             : 5.45
    ueberzugpp       : No such file or directory (os error 2)
    ffmpegthumbnailer: 2.2.2
    magick           : 7.1.1-40
    fzf              : 0.56.2
    fd               : 10.2.0
    rg               : 14.1.1
    chafa            : 1.14.5
    zoxide           : 0.9.6
    7z               : 17.05
    7zz              : 24.09
    jq               : 1.7.1

No new lines in `yazi.log`.

Describe the bug

Basically I have this configuration

[[manager.prepend_keymap]]
desc = "Goto interactive"
on = "<Space>"
run = "plugin fzf --args='--no-mouse'"

This is per this configuration example. Args are not passed to fzf and in this example mouse input still works. Tried other args, too.

Sorry if this is duplicate, for some reason GH issue search shows too many results for "fzf".

Anything else?

No response

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)
@voronind-com voronind-com added the bug Something isn't working label Jan 22, 2025
@sxyazi
Copy link
Owner

sxyazi commented Jan 22, 2025

This is the expected behavior, fzf doesn't support any parameters atm.

The link is to the plugin command documentation, not the fzf documentation, which is still a work in progress, yazi-rs/yazi-rs.github.io#185

@voronind-com
Copy link
Author

Thank you!

Copy link

I'm going to lock this issue because it has been closed for 30 days. ⏳
This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please file a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants