Y
Hacker News
new
|
ask
|
show
|
jobs
by
tom_
1270 days ago
It deletes to end of line.
1 comments
danaris
1270 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.
link
rascul
1270 days ago
It's cutfromcursor in nanorc if you want the other behavior.
https://nano-editor.org/dist/latest/nanorc.5.html
link
Kerbonut
1270 days ago
I believe ctrl+k cuts the line. ctrl+u pastes the line, yea?
link
danaris
1270 days ago
Well, yes. I was just matching the wording of the comment I was replying to.
link