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 C-x C-e combo on shell prompt #13

Open
jaromil opened this issue Sep 29, 2024 · 0 comments
Open

Support C-x C-e combo on shell prompt #13

jaromil opened this issue Sep 29, 2024 · 0 comments

Comments

@jaromil
Copy link
Member

jaromil commented Sep 29, 2024

Test and document in-line usage in a shell prompt using piping and C-x C-e
Bash manual recites:

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.

So cjit can quickly execute commands using:

cat << EOF | cjit [C-x C-e]
[hack away with your C code here
EOF
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

No branches or pull requests

1 participant