-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] User can create search command with predefined condition #19
Comments
Hi, @jzhang-brex. I agree with your use case and solution.
I will try it as well as I can.
I will consider the predefined conditions (obviously), but I will not consider the options. |
@jzhang-brex If you use BRAT, please confirm whether it works as you expected. Of course, It would be great to have feedback or bug reports :) |
Not sure if I'm doing something wrong The hotkey command for a specific search works beautifly but the Config:
Hotkey trigger (works perfectly)Recommended search trigger (doesn't seem to be working) |
Thank you for your report, @rapatel0 :) That is a good point out. But unfortunately, the search using I'll consider them by modifying the UI of the dialog. Please wait for the next beta release 👍 |
…doesn't consider "Default Input" and "Ignore prefix path patterns" (#19)
@rapatel0 2022-08-11_20h41_38.mp4 |
Beautiful This is awesome |
@rapatel0 |
Ah.. it is not easy to ignore |
… options for each "Search command" (#19) - Remove Ignore prefix path patterns
I have released v6.0.0-beta10 🚀 @rapatel0 |
Released in v6.0.0 🚀 |
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.
The text was updated successfully, but these errors were encountered: