Sage Gerard
Sage Gerard

Reputation:

How do I exit nano in Emacs 26.3?

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?

Upvotes: 2

Views: 904

Answers (1)

dat
dat

Reputation: 1720

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.

Upvotes: 5

Related Questions