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

CLI flag to 'open editor' on launch #315

Open
fresh2dev opened this issue Aug 20, 2024 · 0 comments
Open

CLI flag to 'open editor' on launch #315

fresh2dev opened this issue Aug 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@fresh2dev
Copy link

Is your feature request related to a problem? Please describe.

Today, I open mods, then press ctrl+e to open my editor. I do this every time I open mods. And I most often open mods from within my editor (vim / neovim).

Describe the solution you'd like

Please add a CLI flag like mods --editor that will launch an editor and feed the saved text into mods.

Describe alternatives you've considered

A shell alias / function like:

tmp_file=$(mktemp) && vim $tmp_file && cat $tmp_file | mods
@fresh2dev fresh2dev added the enhancement New feature or request label Aug 20, 2024
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

1 participant