Skip to content

Multiple sets of word delimiters for double-click selection #7173

@rbaradari

Description

@rbaradari

Description of the new feature/enhancement

Currently, users can configure a single set of word delimiters (wordDelimiters) to be used for word boundary detection.
Depending on the context users need different sets of word delimiters.

For example (>< marks the double-click selection)

  • selecting a full path Text before >/home/user-name/file< text after
  • selecting a directory Text before /home/>user-name</file text after

Having a possibility to define multiple sets of word delimiters and to dynamically switch between them would support the user in quickly selecting what he intends to.

Proposed technical implementation details

Assuming that multiple sets of word delimiters could be defined then one possibility to provide a dynamic selection would be to use CTRL and ALT to toggle between the sets.
This way a user could double-click for the standard word delimiter selection, ALT-double-click for a set that only breaks on spaces to select full paths and CTRL-double-click to select path elements by using a set that breaks only on slash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-SettingsIssues related to settings and customizability, for console or terminalIssue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Product-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions