Set mode instead of toggle mode

Use case or problem

Quickly switching between reading, live editing and source is a pita. I’ve set up a hotkey for toggling editing mode and for toggling reading, but instead of just one toggle, I often find myself toggling up to 5 times until I get the correct mode.

This probably is because sometimes the difference between live editing and reading is not immediately obvious. But I think the main problem is the concept of 2 toggles for switching between what in fact is 3 modes, not 4. While my intention is not to toggle, but to set a mode.

Proposed solution

I have two proposals, either of which would already be a vast improvement, but I think both should be implemented.

  1. Allow a hotkey-assignable ‘set mode’ for the 3 modes. Instead of repeated toggling until you realize you’re in the correct mode, this would allow to instantly go to the mode you wanted.

    • Set reading view
    • Set live preview (which also drops you from reading view)
    • Set source mode (which also drops you from reading view)
  2. Allow any ‘set editing mode’ to drop you out of reading view into that mode. Not sure what the best approach to this is from your application design, but currently the toggle editing mode becomes unavailable, meaning that hotkey also becomes useless. From a usability standpoint, it fully makes sense that if I use the toggle editing mode hotkey during reading view, my intention is to edit. Whether it actually toggles the editing mode or just drops me in the last one doesn’t matter that much. At the very least, switch to editing.