Replies: 2 comments 1 reply
-
|
Did you try a newer build? IIRC I had the keybinding isue as well a few days ago, but it was solved with the latest nightly build. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi @chipbite, firstly, the [[mgr.prepend_keymap]]
on = [ "<C-q>" ]
run = '''
shell 'code "" "%1"' --confirm
'''
desc = "Open file in VS Code"I dont have windows so i havent tested it. Thirdly, to debug more, can you tell me which among all your keymaps work, and which doesnt? |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
What system are you running Yazi on?
Windows WSL
What terminal are you running Yazi in?
Windows Terminal - WSL2 - Ubuntu 24
yazi --debugoutputYazi Version: 25.5.31 (b65a880 2025-05-30) Debug : false Triple : x86_64-unknown-linux-gnu (linux-x86_64) Rustc : 1.87.0 (17067e9a 2025-05-09) Ya Version: 25.5.31 (b65a880 2025-05-30) Emulator TERM : Some("xterm-256color") TERM_PROGRAM : None TERM_PROGRAM_VERSION: None Brand.from_env : None Emulator.detect : Emulator { kind: Right(Unknown { kgp: false, sixel: true }), light: false, csi_16t: (10, 20), force_16t: true } Adapter Adapter.matches : Sixel Dimension.available: Dimension { rows: 35, columns: 124, width: 0, height: 0 } Desktop XDG_SESSION_TYPE : None WAYLAND_DISPLAY : Some("wayland-0") 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/bash") EDITOR : Some("nano") VISUAL : Some("nano") YAZI_FILE_ONE : None YAZI_CONFIG_HOME: None YAZI_ZOXIDE_OPTS: None FZF_DEFAULT_OPTS: Some("--bind ctrl-f:page-down,ctrl-b:page-up,F2:toggle-preview --height=75% --layout=reverse --info=inline") Text Opener default : Some(OpenerRule { run: "${EDITOR:-vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for: None, spread: true }) block-create: Some(OpenerRule { run: "${EDITOR:-vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for: None, spread: true }) block-rename: Some(OpenerRule { run: "${EDITOR:-vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for: None, spread: true }) Multiplexers TMUX : false tmux version : 3.4 tmux build flags : enable-sixel=Unknown 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) ffmpeg/ffprobe: 6.1.1-3 / 6.1.1-3 pdftoppm : 24.02.0 magick : No such file or directory (os error 2) fzf : 0.66.1 fd/fdfind : No such file or directory (os error 2) / 9.0.0 rg : 14.1.0 chafa : No such file or directory (os error 2) zoxide : 0.9.3 7zz/7z : No such file or directory (os error 2) / 23.01 resvg : No such file or directory (os error 2) jq : 1.7 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/plain See https://yazi-rs.github.io/docs/plugins/overview#debugging on how to enable logging or debug runtime errors.Describe the question
Newbie question. I just cant seem to get it right, I must be making some fundamental mistake. I simply want to:
--> Create a keybinding, say ctrl-d or ctrl-q, to open the file in vs code.
**TBH: I cant seem to get any binding to work. **
(Sorry for newbie question.)
After messing about and giving up, my keymap.toml franken-config looks like this:
I've tried different things, as you can see in the fragments, I just cant get it to do anything at all, it seems...
I have read the docs forwards and backwards, googled and read blogs, but... I must be missing something fundamental.
Thanks for an awesome tool!!
BR! /marcus
Anything else?
No response
Checklist
Beta Was this translation helpful? Give feedback.
All reactions