standardnotes / markdown-basic

[Moved to https://github.com/standardnotes/app] A basic Markdown editor for Standard Notes
https://standardnotes.com
GNU Affero General Public License v3.0
11 stars 12 forks source link

[Feature] Add Shortcuts to switch between 3 modes #22

Open christianhans opened 5 years ago

christianhans commented 5 years ago

I suggest adding simple shortcuts to switch between Edit, Split and Preview.

Mac: CMD + 1: Edit CMD + 2: Split CMD + 3: Preview

Linux/Windows: CTRL + 1: Edit CTRL + 2: Split CTRL + 3: Preview

moughxyz commented 5 years ago

What makes shortcuts really hard to implement is interfering with system shortcuts. Even knowing which system uses what shortcut is hard. With browsers (Chrome) on Mac, Cmd + 1/2/3 switches between the first three tabs open. So that wouldn't work.

christianhans commented 5 years ago

Agreed. I think in the long all shortcuts (global and extension-specific) need to be configurable. I envision something along the lines of how Visual Studio Code has a configuration file for this.