tth05 / obsidian-completr

Auto-completion plugin for the obsidian editor.
MIT License
291 stars 18 forks source link

Option to not select the first option in the dropdown by default #49

Closed macintacos closed 1 year ago

macintacos commented 1 year ago

I'm fine with the dropdown popping up - I just don't want any of those options to be selected until I arrow-down to them. The first option being pre-selected makes me run into the following issues (which are unfortunately making me have to disable this plugin since it's so disruptive):

I think that all of this would probably be resolved if the "focus" was not given to the completion options until the user presses the down arrow (or something like that) to intentionally go into the completion menu to choose an option.

Hopefully that makes sense! Please let me know if you need me to clarify anything.

tth05 commented 1 year ago

Definitely a good idea. I think an option to disable auto-trigger would be helpful as well.

tth05 commented 1 year ago

Added in af18c9a9af427a6eb880717753eb7f0b184c7471. I actually like this behavior a lot. Nice suggestion!