0
submitted 11 months ago by konrad1977@alien.top to c/emacs@communick.news

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.

you are viewing a single comment's thread
view the rest of the comments
[-] konrad1977@alien.top 1 points 11 months 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)

this post was submitted on 12 Oct 2023
0 points (50.0% liked)

Emacs

305 readers
1 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS