-
-
Notifications
You must be signed in to change notification settings - Fork 678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Helix editor (hx
) to editors that support prefix positions
#2156
Conversation
This is dependant on Helix accepting the PR: helix-editor/helix#5945
This change assumes that all Helix users update regularly. |
zellij-server/src/os_input_output.rs
Outdated
@@ -300,6 +300,7 @@ fn spawn_terminal( | |||
|| command.ends_with("emacs") | |||
|| command.ends_with("nano") | |||
|| command.ends_with("kak") | |||
|| command.ends_with("hx") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also add helix
? Some distros use the helix
command instead of the hx
command e.g. ArchLinux and openSUSE
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added in 9acf464
Hey @bheylin - thanks for this! For better compatibility, how about - specifically for helix - we use the old notation? I think an additional |
I think for compatibility we have no other choice than to support the postfix notation |
Sorry, I added a comment and angered the |
No worries, you take the PR from here |
Thank you very much! |
* Add Helix editor (`hx`) to editors that support prefix positions This is dependant on Helix accepting the PR: helix-editor/helix#5945 * Add `helix` variant to accepted editors * Add branch for Helix file opening * style(code): add clarification comment * style(fmt): whitespace --------- Co-authored-by: Aram Drevekenin <[email protected]>
This is dependant on Helix accepting the PR:
helix-editor/helix#5945