Skip to content

[Feature Request] User can create search command with predefined condition #19

@jiamingz42

Description

@jiamingz42

Use Case

My vault contains personal and work-related notes. I place all work-related notes under the same folder or tag them with #work

When I am at work, I want to only search notes related to work. I can start each query with "#work" but it becomes very tedious.

If I am actively working on project-a, I may need to start each query with #work #project-a.

Solution

In the plugin's settings page, users can add a custom search command. Users can specify predefined conditions and other options (e.g. ignore normal path patterns).

For example, I will add a custom search command. Name it "work search". And set the predefined conditions to "#work". As for the options, we can narrow the search to a specific folder.

The plugins will register this command with Obsidian. Then the user can either access it through the command palette or assign a shortcut.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions