diff --git a/ROADMAP.md b/ROADMAP.md index 51a10a63..e5b31e38 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -198,12 +198,12 @@ Status | Command | Description These only work when 'wrap' is off: -Status | Command | Description ----|--------|------------------------------ - :running: | :1234: zh | scroll screen N characters to the right - :running: | :1234: zl | scroll screen N characters to the left - :running: | :1234: zH | scroll screen half a screenwidth to the right -:running: | :1234: zL | scroll screen half a screenwidth to the left +Status | Command | Description | Note +---|--------|------------------|------------ +:white_check_mark: :star: | :1234: zh | scroll screen N characters to the right | In Code, the cursor wil always move when you run this command, whether the horizontal scrollbar moves or not. +:white_check_mark: :star: | :1234: zl | scroll screen N characters to the left | As above +:white_check_mark: :star: | :1234: zH | scroll screen half a screenwidth to the right | As above +:white_check_mark: :star: | :1234: zL | scroll screen half a screenwidth to the left | As above ## Inserting text diff --git a/src/actions/actions.ts b/src/actions/actions.ts index e5cd65ff..9ba597da 100644 --- a/src/actions/actions.ts +++ b/src/actions/actions.ts @@ -2545,7 +2545,7 @@ class MoveScreenToLeft extends MoveByScreenLine { @RegisterAction class MoveScreenToRightHalf extends MoveByScreenLine { modes = [ModeName.Insert, ModeName.Normal, ModeName.Visual, ModeName.VisualLine]; - keys = ["z", "h"]; + keys = ["z", "H"]; movementType: CursorMovePosition = "right"; by: CursorMoveByUnit = "halfLine"; value = 1; @@ -2554,7 +2554,7 @@ class MoveScreenToRightHalf extends MoveByScreenLine { @RegisterAction class MoveScreenToLeftHalf extends MoveByScreenLine { modes = [ModeName.Insert, ModeName.Normal, ModeName.Visual, ModeName.VisualLine]; - keys = ["z", "l"]; + keys = ["z", "L"]; movementType: CursorMovePosition = "left"; by: CursorMoveByUnit = "halfLine"; value = 1;