cd to clipboard
#3660
Replies: 2 comments
-
|
Does something like [mgr]
prepend_keymap = [
{ on = ["g", "s"], run = 'shell -- ya emit cd "$(wl-paste -n)"' },
]work for you? It runs the shell command |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
YES! the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What system are you running Yazi on?
Linux Wayland
What terminal are you running Yazi in?
fish
yazi --debugoutputYazi Version: 26.1.4 (Arch Linux 2026-01-04) Debug : false Triple : x86_64-unknown-linux-gnu (linux-x86_64) Rustc : 1.92.0 (ded5c06c 2025-12-08) Ya Version: 26.1.4 (Arch Linux 2026-01-04) Config Yazi : /home/misw/.config/yazi/yazi.toml (171 chars) Keymap : /home/misw/.config/yazi/keymap.toml (105 chars) Theme : /home/misw/.config/yazi/theme.toml (No such file or directory (os error 2)) VFS : /home/misw/.config/yazi/vfs.toml (No such file or directory (os error 2)) Package : /home/misw/.config/yazi/package.toml (124 chars) Dark/light flavor: "" / "" Emulator TERM : Some("xterm-ghostty") TERM_PROGRAM : Some("ghostty") TERM_PROGRAM_VERSION: Some("1.2.3-arch2") Brand.from_env : Some(Ghostty) Emulator.detect : Emulator { kind: Left(Ghostty), version: "ghostty 1.2.3-arch2", light: false, csi_16t: (7, 14), force_16t: false } Adapter Adapter.matches : Kgp Dimension.available: Dimension { rows: 33, columns: 129, width: 905, height: 472 } Desktop XDG_SESSION_TYPE : Some("wayland") WAYLAND_DISPLAY : Some("wayland-1") DISPLAY : Some(":1") SWAYSOCK : None HYPRLAND_INSTANCE_SIGNATURE: Some("ab1d80f3d6aebd57a0971b53a1993b1c1dfe0b09_1770273630_672687257") WAYFIRE_SOCKET : None SSH shared.in_ssh_connection: false WSL WSL: false Variables SHELL : Some("/usr/bin/bash") EDITOR : Some("nvim") VISUAL : None YAZI_FILE_ONE : None YAZI_CONFIG_HOME : None YAZI_ZOXIDE_OPTS : None FZF_DEFAULT_OPTS : None FZF_DEFAULT_COMMAND: Some("fd --type f --hidden --follow") 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.6a tmux build flags : enable-sixel=Supported ZELLIJ_SESSION_NAME: None Zellij version : No such file or directory (os error 2) Dependencies file : 5.46 ueberzugpp : No such file or directory (os error 2) ffmpeg/ffprobe: 8.0.1 / 8.0.1 pdftoppm : 25.12.0 magick : 7.1.2-12 fzf : 0.67.0 fd/fdfind : 10.3.0 / No such file or directory (os error 2) rg : 15.1.0 chafa : No such file or directory (os error 2) zoxide : 0.9.8 7zz/7z : No such file or directory (os error 2) / 25.01 resvg : No such file or directory (os error 2) jq : 1.8.1 Clipboard wl-copy/paste: 2.2.1 / 2.2.1 xclip : 0.13 xsel : No such file or directory (os error 2) Routine `file -bL --mime-type`: text/plainDescribe the question
Servus,
i want to
cdyazi to a path stored externally into the clipboard, in my case wl-clipspace, and bind this task to a key.so my stupid approach was:
as i expected, i'm not able to access
yafrom a config file.is there a way?
(btw, yazi is AWESOME!)
Anything else?
No response
Checklist
Beta Was this translation helpful? Give feedback.
All reactions