Emit command to obsidian to switch to normal mode or emit escape key on mobile
Kamholtz opened this issue · 0 comments
Please make sure your question is within the scope of this plugin.
- [ x] I know this plugin is about persisting changes to the Vim support built into Obsidian, plus some bonus features, and considered asking in the Obsidian forum first.
Describe the question
Hi,
I've found Vim's normal/visual mode to be immensely useful on mobile (ios) for making text selections. My trouble is transitioning from insert mode back to normal mode on mobile is fiddly without a dedicated escape key.
The jk
to escape mapping in vimrc is alright but still error prone on a mobile keyboard. Is is possible to emit a command from Vimrc to obsidian that I could add to the mobile toolbar that emits <escape>
?
I've looked at a few macro plugins for obsidian but producing a series of keypress does not appear possible.
A similar unresolved request exists in the obsidian forums:
https://forum.obsidian.md/t/escape-button-in-command-palette/42148