obsidian-book-search-plugin icon indicating copy to clipboard operation
obsidian-book-search-plugin copied to clipboard

[FEATURE REQUEST] Use currently selected text as the search term

Open nickynicolson opened this issue 7 months ago • 1 comments

It would be useful for me to execute a search by selecting some text in the current note and passing this through into book search. This could be optional behaviour - if an option like "search using current selection" is set, then the plugin will first try to do something like activeDocument.getSelection().toString();. If it finds some text then use this as search terms instead of showing the searchterm input box

nickynicolson avatar Nov 08 '23 17:11 nickynicolson

It would be useful for me to execute a search by selecting some text in the current note and passing this through into book search. This could be optional behaviour - if an option like "search using current selection" is set, then the plugin will first try to do something like activeDocument.getSelection().toString();. If it finds some text then use this as search terms instead of showing the searchterm input box

I'll look into the feasibility of integrating this feature into the next version of the plugin. Your input is invaluable, and we appreciate you taking the time to share your ideas. Stay tuned for updates on this feature's development, and please continue to share any more suggestions you may have.

anpigon avatar Mar 02 '24 02:03 anpigon