This commit is contained in:
rebornix 2016-09-16 10:02:48 -07:00
parent 3f6bed5bd0
commit 231f3da1d0
2 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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;