Skip to content
Discussion options

You must be logged in to vote

Hi, Yazi author here 👋

I added support for using Yazi directly in Helix (without needing Zellij or tmux) in sxyazi/yazi#2461, which only requires a keybinding:

[keys.normal]
C-y = [
  ':sh rm -f /tmp/unique-file',
  ':insert-output yazi %{buffer_name} --chooser-file=/tmp/unique-file',
  ':insert-output echo "\x1b[?1049h\x1b[?2004h" > /dev/tty',
  ':open %sh{cat /tmp/unique-file}',
  ':redraw',
]

See sxyazi/yazi#2461 for more info!

Demo

screenshot-002279.mp4

Bonus: You can even preview images and videos within Helix!

screenshot-002284.mp4

Replies: 7 comments 15 replies

Comment options

You must be logged in to vote
10 replies
@jacokok
Comment options

@nouritsu
Comment options

@jacokok
Comment options

@Frestein
Comment options

@A-caibird
Comment options

Answer selected by nouritsu
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@noor-tg
Comment options

@nayyara-airlangga
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@noor-tg
Comment options

@atahanyild
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@webdev23
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Converted from issue

This discussion was converted from issue #12932 on February 21, 2025 22:58.