News for hackers. Stuff that matters.
Re:GNU nano is my editor of choice (2021) by danaris on Wednesday December 28, 2022 @10:20AM (#34161803)
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.
Re:GNU nano is my editor of choice (2021) by rascul on Wednesday December 28, 2022 @12:50PM (#34163634)
It's cutfromcursor in nanorc if you want the other behavior.

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

Re:GNU nano is my editor of choice (2021) by Kerbonut on Wednesday December 28, 2022 @01:32PM (#34164079)
I believe ctrl+k cuts the line. ctrl+u pastes the line, yea?
Re:GNU nano is my editor of choice (2021) by danaris on Wednesday December 28, 2022 @03:08PM (#34165282)
Well, yes. I was just matching the wording of the comment I was replying to.