Skip to content

Draft: Update markdown preview shortcut to be cross-platform friendly

What does this MR do?

Updates the "toggle markdown preview" keyboard shortcut to be defined using mod, which intelligently selects the correct modifier key to use based on the current OS, instead of binding both command and ctrl variants.

From a user's perspective, this means that ctrl+shift+p will no longer trigger this shortcut on Mac, and on other platforms, the cmd version (whatever cmd is bound to) will no longer work. This is a good thing, since it avoids binding unnecessary shortcuts that have potential to collide with other shortcuts.

Related to #323954 (closed)

Edited by Nathan Friend

Merge request reports