Skip to content
Discussion options

You must be logged in to vote

Yazi has a different key command to open with the ability to choose. You can see from the default keymap that O lets you choose what program opens it. The options presented in the interactive opener are determined by your yazi.toml file.

[mgr]

keymap = [
	# ...
	# Operation
	{ on = "o", run = "open",               desc = "Open selected files" },
	{ on = "O", run = "open --interactive", desc = "Open selected files interactively" },
	# ...
]

Here's a little section of my yazi.toml file that uses chrome to open PDFs. My linux is WSL, so not sure what you'll have to tweak for Wayland.

[opener]
# ...
chrome = [
  { run = 'cmd.exe /C start chrome "$(wslpath -w %s1)"', orphan = true, desc = "Op…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@megapixel-code
Comment options

Answer selected by megapixel-code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
1. Q&A
Labels
None yet
2 participants