I would like to search first my notes (.tex).

How can you set priority to tex -files in Spotlight search?


It seems that you can't do that in Spotlight preferences.

What you could do is reorder categories by drag and drop in the 'Search Results' tab inside Spotlight's preferences. You could also disable (uncheck) categories you don't want to like 'Applications','Suggestions'…

An alternative solution is :

  1. from the Finder create a custom search that looks (criteria) for files with ending name : .tex
  2. Save this search, it will now be available form the sidebar of the Finder like a classic folder.
  3. Select your saved search in the sidebar of the finder, then enter in the search bar the name of the file you want. The search will now occur only on the file inside the saved search.

From the finder you could also do more quickly a search with two criteria :

  1. Files with name ending by .tex
  2. Files with name containing 'what you search'

Here's an article about custom search in finder.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .