Better Open With Defaults! ❤️ #2207
Unanswered
VioletJewel
asked this question in
1. Q&A
Replies: 2 comments
-
I did end up adding this to my all = [
...
{ run = '$(dmenu_path | dmenu -p "Open With:" -w "$(xdo id)") "$@"', desc = "launcher (dmenu)", orphan = true },
...
] It works pretty well. Maybe something like this can be made in rust and made as a default so everyone can enjoy it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
https://github.com/Ape/open-with-cmd.yazi is exactly what you're looking for. BTW, you can find more awesome plugins at https://yazi-rs.github.io/docs/resources and https://github.com/AnirudhG07/awesome-yazi |
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
-
What system are you running Yazi on?
Linux X11
What terminal are you running Yazi in?
st
yazi --debug
outputDescribe the question
Hi. Thanks for this fast file browser for the terminal. It's really awesome. There is one thing that annoys me very often after using yazi basically daily for months: Open With needs revision to supply better defaults.
This is somewhat a follow up to #1071
$EDITOR
? The reason I am inside of this very menu with Shift+o or Shift+Return is because I don't want to open it with$EDITOR
.I am not going to add a program to my config every time I need to open the selected file(s) in a program a few times. Maybe I need to try a browser a few times. Maybe I want to open it in one thing quickly. typing
"$@"
is getting on my nerves. I mistype it every time, and it's very awkward. I do it a lot. This is a file browser so it should be able to readily open a file / some files in a program. It's awesome that there is a lot of flexibility with ; and : but I need easier access to Open With things.Therefore, please please please make the first open open some sort of prompt (maybe even allow it to complete executables in $PATH ... dmenu- or rofi- or fzf-like) and then open the selected file(s) / $0 like
;{the-prompt} "$@"
automagically.This would be a significant quality of life improvement, and yet I am very grateful for all of the wonderful features contained within this excellent piece of software.
- Vi
Anything else?
No response
Checklist
Beta Was this translation helpful? Give feedback.
All reactions