Skip to content
Discussion options

You must be logged in to vote

Yazi doesn't know when you picked a method to open since that's a user behavior, so for open --interactive you'd need to move the ya emit to the [pick] section since that's the component you're interacting with:

[[pick.prepend_keymap]]
on = "<Enter>"
run = [ "close --submit", "mgr:shell -- ya emit close --no-cwd-file" ]
desc = "Submit the pick"

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@drewlwhitney
Comment options

@sxyazi
Comment options

Answer selected by drewlwhitney
@drewlwhitney
Comment options

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