From 674258787ee238275afee7753cdff1db12fb592a Mon Sep 17 00:00:00 2001 From: Zachary Yedidia Date: Fri, 7 Feb 2020 20:16:59 -0500 Subject: [PATCH] Add Mac special cases --- runtime/help/keybindings.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/runtime/help/keybindings.md b/runtime/help/keybindings.md index dad1e2a7..afdb7123 100644 --- a/runtime/help/keybindings.md +++ b/runtime/help/keybindings.md @@ -392,6 +392,10 @@ MouseWheelRight # Default keybinding configuration. +A select few keybindings are different on MacOS compared to other +operating systems. This is because different OSes have different +conventions for text editing defaults. + ```json { "Up": "CursorUp", @@ -406,13 +410,19 @@ MouseWheelRight "AltRight": "WordRight", "AltUp": "MoveLinesUp", "AltDown": "MoveLinesDown", - "CtrlShiftRight": "SelectWordRight", - "CtrlShiftLeft": "SelectWordLeft", + "CtrlShiftRight": "SelectWordRight", + "CtrlShiftLeft": "SelectWordLeft", "AltLeft": "StartOfLine", "AltRight": "EndOfLine", + "AltShiftRight": "SelectWordRight", (Mac) + "AltShiftLeft": "SelectWordLeft", (Mac) + "CtrlLeft": "StartOfText", (Mac) + "CtrlRight": "EndOfLine", (Mac) "AltShiftLeft": "SelectToStartOfLine", + "CtrlShiftLeft": "SelectToStartOfText", (Mac) "ShiftHome": "SelectToStartOfLine", "AltShiftRight": "SelectToEndOfLine", + "CtrlShiftRight": "SelectToEndOfLine", (Mac) "ShiftEnd": "SelectToEndOfLine", "CtrlUp": "CursorStart", "CtrlDown": "CursorEnd",