I use Consult, Vertico and orderless in my config. But when I am looking for a file (consult-ls-git) I would like it not to include subpath or the path when filtering the results, or if it's possible to show matches in filename first - so they have more score for the sorting. Is this possible.

/LoginView/SomeFile.swift
/LoginView/LoginView.swift

Right now I would get this when I type "Login", that fine but if it's not possible to exclude non matching files, I would like the LoginView to be the first choice.

    • konrad1977@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I have grep tools too, I just wanted to know if you can configure the completions to not include matches from paths? This will include matches in file, I only want to match on the file name (case insensitive)