Hacker News new | ask | show | jobs
by tom_ 1270 days ago
It deletes to end of line.
1 comments

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.
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.