for workaround of wrong operatoin, I use some commands without shortcut key. so, I use command palette, and need to move right hand for taking a command.
3. Proposed solution
I hope:
ctrl+j: move down in command palette
ctrl+k: move up in commadn palette
enter: to use the command
ctrl+[: dismiss
with these shotcut key, I’m sure to feel so happy.
my hands, too.
In a obsidian, I hope to any operation without mouse, with arrow keys a little.
I imagine my operations for vim-mode, and know others imagine them for emacs-mode.
so, It would be imagined what hot-key is changed to.
I was about to make a separate post, but I think I can tag it here cos it seems similar.
I’ve wanted to have ctrl+j/k in the popup for link suggestions in addition to the palette. It’s pretty standard in Vim, Spacemacs and VSCodeVim as well.
So I guess it’s a related feature request? Enter and ctrl+[ work the same way too.
Just building off of anotherroot’s response you can check to see what the active element is, not sure if you can add the listener to the suggester element since it doesn’t exist when obsidian is first loaded.
I also added e.preventDefault() so my other hotkeys weren’t trying to run and swapped metaKey and ctrlKey since I’m on mac.