4
I used Ctrl+Shift+6 to select a block of text in Nano, then cut it with Ctrl+K. This successfully removed the text from my buffer.
But when I do Ctrl+U to paste what I had cut, nothing is pasted.
Where did my text go? Can I get it back?
4
I used Ctrl+Shift+6 to select a block of text in Nano, then cut it with Ctrl+K. This successfully removed the text from my buffer.
But when I do Ctrl+U to paste what I had cut, nothing is pasted.
Where did my text go? Can I get it back?
0
M-A (^6)
or ALT
+SHIFT
+A
(CTRL
+SHIFT
+6
) Marks text starting from the cursor position
M-6 (M-^)
or ALT
+6
(ALT
+SHIFT
+6
) Copies current line (or marked region) and stores it in the cutbuffer.
2Welcome to Super User!
Ctrk+K
/Ctrl+U
is the usual yank/paste sequence, so if that didn't do what you were expecting I can understand your confusion and question! – bertieb – 2018-11-06T22:06:12.213Check that the version of nano is recent. It looks like 2.0.6 is current. – DC Slagel – 2019-05-02T14:44:25.440