How do I extend a selection in nano and pico with the keyboard, so I can move and copy blocks?
Sorry, this is a question I would normally find out by myself but I have searched a lot in different occasions now without success.
How do I extend a selection in nano and pico with the keyboard, so I can move and copy blocks?
Sorry, this is a question I would normally find out by myself but I have searched a lot in different occasions now without success.
I got this from inside the help screen in nano by pressing ctrl-g:
^ = ctrl
M = esc
So you position your cursor at the beginning of where you want to select and press
esc-a
orctrl-shift-6
orF15
then move the cursor with the arrow keys to highlight the text. Once it is highlighted pressesc-6
to copy the text. Lastly move to where you want to paste and pressctrl-u
orF10
. I just tested this in nano 2.0.6 on OS X but should work across the board.