This PR will remap the PC-based keybindings to align with platform conventions on macOS. Cmd will be used instead of Ctrl, the non-existent Alt key will be replaced with (Mac) Ctrl, Backspace and Delete will be swapped. The remapping allows for a platform-independent default keybinding and makes custom keybindings portable between platforms.
Fixes #58.
Supersedes #59 .
Scope
Remap key modifier codes for Cmd (Mac) to Ctrl (PC) and Ctrl (Mac) to Alt (PC) on Mac
Swap internal key codes for Backspace and Delete on Mac
Revert the Mac key remapping for display purposes
Make key_sequence_item_to_string use keyval_to_string for pretty-printing keys as well
Out of scope
Using Option as a modifier might not work for non-character keys because it is not configured as a valid modifier key.
This PR will remap the PC-based keybindings to align with platform conventions on macOS.
Cmd
will be used instead ofCtrl
, the non-existentAlt
key will be replaced with (Mac)Ctrl
,Backspace
andDelete
will be swapped. The remapping allows for a platform-independent default keybinding and makes custom keybindings portable between platforms.Fixes #58. Supersedes #59 .
Scope
key_sequence_item_to_string
usekeyval_to_string
for pretty-printing keys as wellOut of scope
Option
as a modifier might not work for non-character keys because it is not configured as a valid modifier key.