When typing larger code blocks (e.g. templates, mermaid) I have to move my cursor out of the block to get a preview. Then when I want to continue to edit I have to move the cursor to the position I was typing at again.
It could be useful to have a button mapped to ‘unfocussing’ the editor such that the live preivew is shown. Any non-shortcut input could then focus the editor again, with the cursor at the position it was last in. That way it’s easy to quickly preview and then continue modifying.
Instinctively I tried doing this with the escape key, so maybe that’s a nice key for this?