Core Search Assistant

approved

by qawatake

Enhance built-in search: keyboard interface, card preview, bigger preview.

124 stars31,910 downloadsUpdated 11mo agoMIT
View on GitHub

Core Search Assistant

ci

This plugin enhances the built-in search function by providing

  • keyboard interface,
  • card view,
  • bigger preview,
  • auto preview,

main-min focus-min

How to use

When you open the built-in search panel, you enter search mode. In the search mode, you can use the following hotkeys.

KeyAction
Ctrl + N, Select the next item.
Ctrl + P, Select the previous item.
Ctrl + SpacePreview the selected item. Currently not supported in the legacy editor. (Manual preview)
Ctrl + EnterOpen the selected item.
Ctrl + Shift + EnterOpen the selected item in a new pane.
Shift + SpaceSet search options.
Ctrl + ]Move to the next set of cards. (available only in card view.)
Ctrl + [Move to the previous set of cards. (available only in card view.)
Ctrl + ICopy the wiki link of the selected item.
  • The hotkeys above are available only in the search mode, so don't worry about overwriting your hotkey settings.
  • You can customize hotkeys in the setting tab.
  • To exit the search mode, press Esc or click any part of the screen other than the search panel.

Auto Preview

There are three options for auto preview.

  1. none,
  2. single view,
  3. card view.

1. None

Manual preview by Ctrl + Enter is still available.

none-view-min

2. Single view

Previewed item can be scrolled unlike card view.

single-view-min

3. Card view

Available layouts:

  • 2 x 2,
  • 2 x 3,
  • 3 x 2,
  • 3 x 3.

If rendered results are wrong, press Enter to reload.

card-view-min

Manual Preview

Currently manual preview is not supported in the legacy editor.

In the preview modal, the following hotkeys are available.

KeyAction
Ctrl + N, Scroll down a bit.
Ctrl + P, Scroll up a bit.
SpaceScroll down a lot.
Shit + SpaceScroll up a lot.
Ctrl + EnterOpen the selected item.
Ctrl + Shift + EnterOpen the selected item in a new pane.
Esc, Ctrl + SpaceClose the modal.
TabFocus on the next match.
Shift + TabFocus on the previous match.
Ctrl + EToggle preview mode.
Ctrl + ICopy the wiki link of the selected item.
  • You can customize hotkeys in the setting tab.

focus-min

Search options

search-option-min

Trouble shooting

Hotkeys do not work after a search (issue #44)

Please reload Obsidian. If that does not help you, enable the Render cards manually option in the setting tab.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.