Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I exit nano in Emacs 26.3?

Tags:

emacs

nano

I'd like to know how to close nano under a term using /bin/bash, all under the context of in emacs -nw. A plain ^X doesn't work.

I tried entering the character mode using C-c C-k, but that didn't seem to help. Is there another "just send this along" command for a key binding?


1 Answers

Short answer: Esc Esc X will be interpreted by nano in the same manner as C-x.

Background: A [sometimes-]handy nano tip: press Esc twice followed by the desired key to send the equivalent Ctrl- command.

like image 146
dat Avatar answered Oct 21 '25 01:10

dat



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!