Skip to content

Improve undoing fuzzy completion matches #7433

@faho

Description

@faho

On StackOverflow someone complained that it's sometimes unwanted to turn something like /etc/ft into /etc/fstab.

In that case it was a fuzzy match (a "fuzzy_match_subsequence_insertions_only" match to be precise), because "ft" fuzzy-matches "fstab", but really it was just a typo.

Of course it's always possible to use undo (well, once 3.2 is released), but that requires an extra binding you have to know about.

I think we might find a way to do better.

Some idle ideas:

  • Always open the pager if the match is fuzzy
  • Allow "cancel" (i.e. escape) to undo a completion if pressed right after it (this would work for all types of completion matches)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions