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

Feature request: C-x C-e to open the current prompt inside the editor #3630

Closed
iamFIREcracker opened this issue Mar 25, 2025 · 0 comments · Fixed by #3659
Closed

Feature request: C-x C-e to open the current prompt inside the editor #3630

iamFIREcracker opened this issue Mar 25, 2025 · 0 comments · Fixed by #3659

Comments

@iamFIREcracker
Copy link
Contributor

Exactly like Bash does it -- from its man page:

       edit-and-execute-command (C-x C-e)
              Invoke an editor on the current command line, and execute the result as shell commands.  Bash attempts to  invoke  $VISUAL,
              $EDITOR, and emacs as the editor, in that order.

Of course one could always get to the beginning of the line, type in /editor, and press enter, but I figured it could be a nice addition.

If there is appetite for including this, I might even try to implement this myself.

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 a pull request may close this issue.

1 participant