Skip to content
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

Support for passing raw strings to open -a (for editor defaults) #201

Open
0rphee opened this issue Oct 22, 2023 · 1 comment
Open

Support for passing raw strings to open -a (for editor defaults) #201

0rphee opened this issue Oct 22, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@0rphee
Copy link

0rphee commented Oct 22, 2023

Summarize this feature

My editor of choice is helix. However, it is a terminal application, and thus, I cannot use it like I would use any other .app editor for OpenInEditor-Lite.

After a quick glance at the code it seems you use the open command to launch editors/terminals.

If OpenInEditor-Lite passed the raw editor defaults to the open command we would be able to do something like this: defaults write wang.jianing.app.OpenInEditor-Lite LiteDefaultEditor "kitty --args hx", and the path to the file to be edited is appended to the end.

Why should this feature be included?

This would make it easier to launch terminal-based editors like vim, neovim, kakoune, helix, etc, with OpenInEditor-Lite

@0rphee 0rphee added the enhancement New feature or request label Oct 22, 2023
@0rphee 0rphee changed the title Support for passing raw strings to open -a. Support for passing raw strings to open -a (for editor defaults) Oct 22, 2023
@yuhan0
Copy link

yuhan0 commented Oct 1, 2024

Same here with emacsclient -nw <filename>, which is a CLI program that passes its arguments to the currently running Emacs instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants