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

Create immediate mode for Editor prompt #271

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kurtbuilds
Copy link

Using a tool like git, there is an "immediate" mode for the commit message, where running git commit immediately opens up the editor, without displaying a prompt, it aborts if the editor quits without saving, and then it displays the message.

Right now, prompt only works with the intermediary step of pressing e to open the editor.

This adds another function prompt_immediate() for users that want functionality more similar to how git commit works.

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

Successfully merging this pull request may close these issues.

1 participant