Go to file
2022-06-25 12:01:49 +02:00
2022-05-25 07:05:54 +02:00
2022-04-20 18:00:55 +02:00
2022-04-23 17:13:48 +02:00
2022-04-23 17:13:48 +02:00
2022-04-23 17:13:48 +02:00
2022-04-09 10:44:54 +02:00
2022-06-04 09:30:51 +02:00
2022-05-17 14:02:13 +02:00
2022-04-24 08:05:21 +02:00
2022-04-18 16:28:14 +02:00
2022-06-17 20:09:09 +02:00
2022-05-27 15:00:52 +02:00
2022-06-17 20:09:09 +02:00
2022-05-11 16:09:42 +02:00
2022-06-13 13:47:55 +02:00
2022-05-11 16:09:42 +02:00
2022-04-30 21:32:24 +02:00
2022-06-17 20:09:09 +02:00

Omnisearch for Obsidian

Sponsor me

GitHub release (latest by date including pre-releases) GitHub release (latest by date including pre-releases) Active Development

Omnisearch is a search engine that "just works". It always instantly shows you the most relevant results, thanks to its smart weighting algorithm.

Under the hood, it uses the excellent MiniSearch library.

Features

  • Automatic document scoring using the BM25 algorithm
    • The relevance of a document against a query depends on the number of times the query terms appear in the document, its filename, and its headings
  • Keyboard first: you never have to use your mouse
  • Instant & highlighted search results
  • Resistance to typos
  • In-file search to quickly skim multiple results in a single note
  • Search filters: expressions in quotes and exclusions
  • Respects Obsidian's "Excluded Files" list (results are downranked, not hidden)

Installation

You can check the CHANGELOG for more information on the different versions.

Usage

Omnisearch can be used within 2 different contexts:

Omnisearch's core feature, accessible with the Command Palette "Omnisearch: Vault search". This modal searches through your vault and returns the most relevant notes. That's all you need to find a note.

If you want to list all the search matches of a single note, you can do so by using alt+enter to open the In-File Search.

Also accessible through the Command Palette "Omnisearch: In-file search". This modal searches through the active note's content and lists the matching results. Just press enter to automatically scroll to the right place.

Customization

There are several CSS classes you can use to customize the appearance of Omnisearch.

.omnisearch-modal
.omnisearch-result
.omnisearch-result__title
.omnisearch-result__counter
.omnisearch-result__body
.omnisearch-highlight

For example, if you'd like the usual yellow highlight on search matches, you can add this code inside a CSS snippet file:

.omnisearch-highlight {
    color: var(--text-normal);
    background-color: var(--text-highlight-bg);
}

LICENSE

Omnisearch is licensed under GPL-3.

Description
No description provided
Readme GPL-3.0 7.4 MiB
Languages
TypeScript 74.4%
Svelte 19.4%
JavaScript 4.9%
CSS 1.3%