A fast fuzzy finder based quick switcher with preview.
The plugin adds a new command Lemons Search: Open search
that opens the quick switcher.
The quick switcher lets you easily search all file paths in your vault and offers a quick preview of the selected search result.
To ensure top performance and high-quality results, the plugin is written in Rust using the nucleo-matcher create running in a web worker. This ensures that the majority of the computational load is taken off the main thread for a smoother feel.
Every query consists of search atoms separated by spaces. Spaces can be escaped using \
.
In the following illustration, each underlined part is a separate search atom.
movie Star\ Wars
----- ----------
Search atoms can be modified using special characters to change their behavior.
'
'foo
will only match yummy food
but not funny doodle
!
to negate, e.g. !foo
^
^foo
will only match food
but not yummy food
!^
to negate, e.g. !^foo
$
.md$
will only match foo.md
but not foo.txt
!<search atom>$
to negate, e.g. !.md$
^
and postfix with $
^foo.md$
will only match foo.md
and nothing else!^<search atom>$
to negate, e.g. !^foo.md$
While the input field is focused, you can use the following special actions.
uparrow
Move selection up by onedownarrow
Move selection down by oneenter
Open selectiontab
Copy the current selection into the search bar