qawatake / obsidian-core-search-assistant-plugin

An Obsidian plugin to enhance built-in search: keyboard interface, card preview, bigger preview
MIT License
109 stars 2 forks source link
obsidian obsidian-md obsidian-plugin

Core Search Assistant

This plugin enhances the built-in search function by providing

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.

Key Action
Ctrl + N, Select the next item.
Ctrl + P, Select the previous item.
Ctrl + Space Preview the selected item. Currently not supported in the legacy editor. (Manual preview)
Ctrl + Enter Open the selected item.
Ctrl + Shift + Enter Open the selected item in a new pane.
Shift + Space Set 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 + I Copy the wiki link of the selected item.

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:

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.

Key Action
Ctrl + N, Scroll down a bit.
Ctrl + P, Scroll up a bit.
Space Scroll down a lot.
Shit + Space Scroll up a lot.
Ctrl + Enter Open the selected item.
Ctrl + Shift + Enter Open the selected item in a new pane.
Esc, Ctrl + Space Close the modal.
Tab Focus on the next match.
Shift + Tab Focus on the previous match.
Ctrl + E Toggle preview mode.
Ctrl + I Copy the wiki link of the selected item.

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.