News for hackers. Stuff that matters.
Re:GNU nano is my editor of choice (2021) by wankle on Thursday December 29, 2022 @01:03AM (#34170023)
You're right ctrl+s works, I tried it, I always thought it had to be ctrl+o since that's what the bottom panel shows. I was encouraged so I highlighted some text then tried ctlr+c and ctrl+v, unless I hit a wrong key somewhere, it didn't work.
Re:GNU nano is my editor of choice (2021) by kazinator on Thursday December 29, 2022 @02:11AM (#34170306)
Ctrl-C and Ctrl-V are not common keybindings, unless we are talking about the Microsoft Windows environment, and graphical environments aped after it.

In the GNU/Linux environment, the standard keybindings are the Emacs-derived ones. Ctrl-A to go to the start of the line, Ctrl-E to jump to the end, ... pasting is called "yank" and mapped to Ctrl-Y.

Your point stands since GNU Nano doesn't stick to these either.

Ctrl-C is interrupt in the TTY environment. This is so entrenched that programs which obtain Ctrl-C as ordinary input rather than a SIGINT signal still use it for interruption. E.g. in Vim, we can use Ctrl-C to interrupt long operations.

Ctrl-V is entrenched as a "verbatim" key: insert the following character literally, even if it is a control character.