Skip to content

Feature request: nano-style click selection #2136

@easyaspi314

Description

@easyaspi314

Description

Currently, the only way to select text using the mouse is to drag. This makes text selection with the mouse impossible if you don't have drag support. An example that comes to mind (and the reason for this) is Termux (and possibly, other touchscreens, although I can't say for certain).

There should be an option to change the selection to behave like nano's mark mode.

Basically, nano's mouse selection works like so:

  • Double-click (technically, click on the cursor) to enter selection mode. This will be the start (or end if selecting backwards).
  • Move the cursor to where you would like to end the selection.
  • Double-click (again, technically click on the cursor) to cancel the selection.
  • In nano's case, doing an action cancels the selection, although this might not be favorable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions