Hacker News new | ask | show | jobs
by danaris 1271 days ago
Just tested in GNU nano, version 3.2, the default on Debian Buster, with default settings. Ctrl-K deletes entire line no matter where in the line you use it.
2 comments

It's cutfromcursor in nanorc if you want the other behavior.

https://nano-editor.org/dist/latest/nanorc.5.html

I believe ctrl+k cuts the line. ctrl+u pastes the line, yea?
Well, yes. I was just matching the wording of the comment I was replying to.