Hello @timhor !!!!
A brief introduction before talking about the FR :)
1️⃣ In version 1.0.7
we had the command Select Word that selected the word based on the caret cursor position.
2️⃣ In version 1.0.8
this command gains superpower which lets us select word and select the next occurrence as well :)
- Which is an amazing feature !!!!!
My FR is about bring back the Select Word
in a separated command
- This way we can have the option two use both commands for different workflows :)
I know that look strange to have two commands like this. Let me show how Select Word
can have multiple workflows when you combine with other plugins :)
My Workflow
ℹ️ I import a lot of content to Obsdian. Especially Book Highlights, Podcasts Transcriptions and Web Artciles
ℹ️ All my writing is created inside Obsidian. Even when I have to send a message, I write first in Obsdiamn than send to external sources.
ℹ️ Additionally, I use a lot of html tags to decorate my notes.
📸 Source Mode x Reading Mode
This way I use a lot of Line Selection, Paragraphs Selection and Word Selection to easily apply this decorations to my notes.
- Using QuickAdd I can create a macro to apply these text decorations.
📸 This is my QuickAdd Macro
This Macro automatically Select the word at the caret cursor and then apply the decoration.
The beautiful thing here is that the command respects if something where already select
- This is amazing because I can have one hotkey to deal with selected and NOT select words;
📽 2 Selected Words Selected
https://user-images.githubusercontent.com/85180696/174653195-df0f4835-57c7-46a0-a7ff-9d8b3a5a2945.MOV
Why I need a separated Command ?
The video below shows why I need a command to only Select one Word
📽 3x Michael Jordan
https://user-images.githubusercontent.com/85180696/174653417-a6eb4003-484c-41ec-a80a-014f4f8b87d2.MOV
In words: when I have two words select and I have the same words before and/or after the command Select Word and the Next Occurrence
will apply the decoration to the next other matches
- Which is perfect ! It exactly what the command should do :)
But when we have a workflow where we want to apply some type of rule (in my case html tags) only to the select text and avoid the next occcurance I can use the same command.
-The best scenario for this would be the old command that only selects one Michael Jordan
:)
We can apply this same insight to many workflow in Obsidian, I decided to share this one because its easy to see :)
Thanks for reading this !!!!! I hope you like my suggestion 🙏 🙏 🙏
Sorry for the long text. My idea was to show to you that a isolated command is something really important :)
Let me know if you need more information !!!
Have a great day 🌞