nano: The Mark
4.4 The Mark
============
Text can be selected by first ’setting the Mark’ (default key bindings:
‘^6’ and ‘M-A’) and then moving the cursor to the other end of the
portion to be selected. The selected portion of text will be
highlighted. This selection can now be cut or copied in its entirety
with a single ‘^K’ or ‘M-6’. Or the selection can be used to limit the
scope of a search-and-replace (‘^\’) or spell-checking session (‘^T’).
On some terminals, it is also possible to select text by holding down
‘Shift’ together with the cursor keys. Such a selection is cancelled
upon any cursor movement where ‘Shift’ isn’t held.
Cutting or copying selected text will toggle the mark off
automatically. If necessary, it can be toggled off manually with
another ‘^6’ or ‘M-A’.