obsidian-various-complements-plugin
obsidian-various-complements-plugin copied to clipboard
[Feature Request] Custom Dictionary: Nested Alias
Hello @tadashi-aikawa !!!!!
My FR is a little difficult to explain but I'm gonna try my best to make this easy to understand
⚠️ Let me know if something is not clear
FR: Only for Custom Dictionaries, be able to create suggestions that are nested by alias.
I'm gonna use a simple example and then I share my workflow:
📝 Example
Let's image I have a Custom Dictionay with Grocery items 🍔
- Every time that I go the supermarket, I create a note with all items that I have to buy.
This is my grocery items database
Fruits:
- Apple
- Orange
- Grape
Protein
- Meat
- Chicken
- Fish
I would have a Custom dictionary like this
- The alias
Fruit
andProtein
trigger my items
꜔Apple>>>Apple<TAB><TAB>Fruit
꜔Orange>>>Apple<TAB><TAB>Fruit
꜔Grape>>>Apple<TAB><TAB>Fruit
꜔Meat>>>Apple<TAB><TAB>Protein
꜔Chicken>>>Apple<TAB><TAB>Protein
꜔Fish>>>Apple<TAB><TAB>Protein
For making easier for me I would define a universal alias as fff
to trigger the content of this Custom Dictionary
꜔Fruit → Apple>>>Apple<TAB><TAB>fff
꜔Fruit → Orange>>>Orange<TAB><TAB>fff
꜔Fruit → Grape>>>Grape<TAB><TAB>fff
꜔Protein → Meat>>>Meat<TAB><TAB>fff
꜔Protein → Chicken>>>Chicken<TAB><TAB>fff
꜔Protein → Fish>>>Fish<TAB><TAB>fff
As you can image, I would have a huge suggestion list to get all items a grocery list Custom Dictionary.
Would be amazing if we could hit fff
and have a suggestion opened like this:
Than after hitting Fruits
another VC modal open filtered with only the fruits:
💡 My Idea
I am thinking something like this:
Display TextA>>>Inserted TextA<TAB><TAB>alias1
Display TextB>>>Inserted TextB<TAB><TAB>Inserted TextA
Using the Inserted TextA
as the alias of the Inserted TextB
Following My Example we would have a Custom Dictionary like this:
꜔Fruit>>>Fruit<TAB><TAB>fff
꜔Protein>>>Protein<TAB><TAB>fff
꜔Apple>>>Apple<TAB><TAB>Fruit
꜔Orange>>>Orange<TAB><TAB>Fruit
꜔Grape>>>Grape<TAB><TAB>Fruit
꜔Protein>>>Meat<TAB><TAB>Protein
꜔Chicken>>>Chicken<TAB><TAB>Protein
꜔Fish>>>Fish<TAB><TAB>Protein
Step 1: hit fff
will show a modal with Fruit
and Protein
Step 2: select Fruit
will open a new modal with Apple
Orange
and Grape
🆘 nothing will be inserted in the Note
Step 3: select Apple
will insert Apple in the note.
My Workflow
I am creating Notes for my documentation, this way I use a lot of keyboard symbols ⌘ ⌃ ⌥ ⇧
and arrows ← → ↑ ↓
to create commands.
This way I have a Custom Dictionary that only contais symbols
I have a workaround to mimic the behavior that I want in this FR
- I use the key
/
an Universal trigger.
Let me show ...
꜔←→↓↑>>>㉿A cmd
꜔>>>㉿M cmd
꜔→>>>⅋end⅋→ ㉿A/
꜔←>>>⅋end⅋← ㉿A/
꜔↑>>>⅋end⅋↑ ㉿A/
꜔↓>>>⅋end⅋↓ ㉿A/
꜔←→>>>⅋end⅋←→ ㉿A/
꜔⌘>>>⅋end⅋⌘+ ㉿M/
꜔⌃>>>⅋end⅋⌃+ ㉿M/
꜔⌥>>>⅋end⅋⌥+ ㉿M/
꜔⇧>>>⅋end⅋⇧+ ㉿M/
📽 Video
Step 1: hit cmd to show the suggestion groups
Step 2: select the one of the suggestion groups
Step 3: the suggestion ㉿@
will be inserted in the current note
Step 4: I type /
which will bring me the modal again
Step 5: I select the suggestion that will be inserted in the current note.
I don't know if I am asking is possible :)
Would be amazing to not have to use a /
to bring the modal again :)
Thanks for reading this and sorry for the long text!!!!!
Let me know if you need more information !!!
Have a great day 🌞
Hi, @FelipeRearden. Sorry for the answer too late 🙏
I had decided not to implement it because I think this feature is a bit complicated. (I don't know what will happen in the future)
Step 4: I type / which will bring me the modal again
If you trigger suggestions manually, you don't need to type /
.
If you want to, I can add an option that enables you to show suggestions continuously, but it seems noisy for other cases 🤔
Hi, @FelipeRearden. Sorry for the answer too late 🙏
Thank you very much for your reply 💙💙💙
You already know that my FRs are always a little longer than the usual 😜 📖
I had decided not to implement it because I think this feature is a bit complicated. (I don't know what will happen in the future)
100% understood. I know that I have a different approach to VC that may be a little complicated sometimes. :)
If you trigger suggestions manually, you don't need to type
/
.
Thanks for the suggestion 💙 The main idea for me is to be able to do this workflow without using any hotkeys, just typing my alias magic words and then interact with the VC modals :)
If you want to, I can add an option that enables you to show suggestions continuously, but it seems noisy for other cases 🤔
In my users mind, that exactly what I was looking for . If possible I would humbly ask to make this option only affect (be available to) Custom Dictionary. Thanks for considering this option 💙💙💙
ℹ️ If you agree, I do the beta test (as always) and I test the how the whole operation goes and the indirect impact in my other workflows with VC.
Let me know what you think :)
Thanks !!!!