How to delete selected text in nano editor? [duplicate]
You can't select with mouse and delete text using nano editor
. For faster delete you can use Ctrl + K
to delete(cut) the present line of text.
Note : Ctrl + K
will cut the line of text. Using Ctrl + U
you can paste it.
EDIT: Additional Info from steeldriver
You can select and cut something other than the current line using Ctrl-^
to mark the start of the text, then advancing the cursor e.g. using Ctrl-F
(forward one character) and/or Ctrl-Space
(forward one word) and/or arrow keys, and then pressing Ctrl-K