Skip to content

Request: Make the CTRL + backspace behavior for paths apply to more types of paths or allow plugins to customize it #4164

@TBM13

Description

@TBM13

Currently the CTRL + backspace behavior is hardcoded to:

  1. If the query is a valid path, remove everything until the last '\' that isn't at the end, e.g.:
    • C:\Asd\Some Example -> C:\Asd\
    • C:\Asd\Some Example\ -> C:\Asd\
  2. Otherwise, behave normally:
    • Example\Asd\Some Example -> Example\Asd\Some
    • Example\Asd\Some Example\ -> Example\Asd\Some Example

I'd like for the behavior of the first case to apply to more types of paths since plugins like the registry's or a Windows Tasks plugin I'm making have paths such as:

  • HKCU\Keyboard Layout\Preload\
  • \Microsoft\Windows\AccountHealth\

These paths don't follow the format of letter + colon + slash (e.g. C:\) so they aren't considered valid paths.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions