Came to forum to write exactly about this feature request.
I find myself changing often between modes, because I’d like to have rendered mode enabled always, except for when I need to edit.
So, here’s what I think of requirements for this:
- it should be insta-quick to begin editing, even quicker than keyboard shortcut (which takes me to focus on proper pane, use shortcut, set cursor position)
- it should be customisable (what to press or what to do to switch)
- it might auto-return to preview mode as soon as pane loses focus, except if it was in edit mode before I clicked.
I’m not sure what could be an implementation, but some ideas:
- 3rd party plugin vs core (I believe it should be in core)
- specific setting vs allowing mouse actions in hotkeys (I believe specific setting would be simpler and cleaner)
- default setting might be cmd+shift+click or cmd+doubleclick
- optional ‘auto-return to preview’
- optional ‘open links in (edit / preview / same as current) mode’ setting.
I know that Obsidian wants to become virtually WYSIWYG editor, when there’s thin line between edit & preview. This might be a simple step towards it, easing it for current users and allowing customisation.