diff --git a/runtime/help/copy_selection_on_prev_line.txt b/runtime/help/copy_selection_on_prev_line.txt new file mode 100644 index 000000000..f2b4425fe --- /dev/null +++ b/runtime/help/copy_selection_on_prev_line.txt @@ -0,0 +1,18 @@ +`copy_selection_on_prev_line` + +Copies the current primary selection to the first previous line long enough to accomodate it. + +--- Examples --- + +The selection is copied from line 1 to line 2. +┌───────────────────────────┐ ┌───────────────────────────┐ +│ This is text on line 1. │ --> │ This is text [on line 1]. │ +│ This is text [on line 2]. │ │ This is text [on line 2]. │ +└───────────────────────────┘ └───────────────────────────┘ + +The selection duplication skips line 2 because it is too short. +┌──────────────────────────────────┐ ┌──────────────────────────────────┐ +│ This is a longer line of text. │ │ This is a longer li[ne of t]ext. │ +│ This is a shorter line. │ --> │ This is a shorter line. │ +│ This is another lon[ger lin]e. │ │ This is another lon[ger lin]e. │ +└──────────────────────────────────┘ └──────────────────────────────────┘ diff --git a/runtime/help/extend_char_left.txt b/runtime/help/extend_char_left.txt new file mode 100644 index 000000000..2e87ef608 --- /dev/null +++ b/runtime/help/extend_char_left.txt @@ -0,0 +1,3 @@ +`extend_char_left` + +Extending version of `move_char_left`. diff --git a/runtime/help/extend_char_right.txt b/runtime/help/extend_char_right.txt new file mode 100644 index 000000000..7568169f9 --- /dev/null +++ b/runtime/help/extend_char_right.txt @@ -0,0 +1,3 @@ +`extend_char_right` + +Extending version of `move_char_right`. diff --git a/runtime/help/extend_line_down.txt b/runtime/help/extend_line_down.txt new file mode 100644 index 000000000..f37497c53 --- /dev/null +++ b/runtime/help/extend_line_down.txt @@ -0,0 +1,3 @@ +`extend_line_down` + +Extending version of `move_line_down`. diff --git a/runtime/help/extend_line_up.txt b/runtime/help/extend_line_up.txt new file mode 100644 index 000000000..2adcbac6c --- /dev/null +++ b/runtime/help/extend_line_up.txt @@ -0,0 +1,3 @@ +`extend_line_up` + +Extending version of `move_line_up`. diff --git a/runtime/help/move_char_left.txt b/runtime/help/move_char_left.txt new file mode 100644 index 000000000..2996f39a9 --- /dev/null +++ b/runtime/help/move_char_left.txt @@ -0,0 +1,3 @@ +`move_char_left` + +Moves all cursors 1 character left, removing any selections. diff --git a/runtime/help/move_char_right.txt b/runtime/help/move_char_right.txt new file mode 100644 index 000000000..485f9fe3d --- /dev/null +++ b/runtime/help/move_char_right.txt @@ -0,0 +1,3 @@ +`move_char_right` + +Moves all cursors 1 character right, removing any selections. diff --git a/runtime/help/move_line_down.txt b/runtime/help/move_line_down.txt new file mode 100644 index 000000000..6571697dd --- /dev/null +++ b/runtime/help/move_line_down.txt @@ -0,0 +1,13 @@ +`move_line_down` + +Moves all cursors 1 line down, removing any selections. +Repeating this will remember the vertical position of the cursors, even when moving across shorter lines. + +--- Examples --- + +The cursor remembers its vertical position, even after moving across the shorter line. +┌────────────────────────────┐ ┌────────────────────────────┐ ┌──────────────────────────────┐ +│ This is a longer l[i]ne. │ │ This is a longer line. │ │ This is a longer line. │ +│ Shorter line. │ --> │ Shorter line.[] │ --> │ Shorter line. │ +│ This is another long line. │ │ This is another long line. │ │ This is another lo[n]g line. │ +└────────────────────────────┘ └────────────────────────────┘ └──────────────────────────────┘ diff --git a/runtime/help/move_line_up.txt b/runtime/help/move_line_up.txt new file mode 100644 index 000000000..0927bca1a --- /dev/null +++ b/runtime/help/move_line_up.txt @@ -0,0 +1,13 @@ +`move_line_up` + +Moves all cursors 1 line up, removing any selections. +Repeating this will remember the vertical position of the cursors, even when moving across shorter lines. + +--- Examples --- + +The cursor remembers its vertical position, even after moving across the shorter line. +┌──────────────────────────────┐ ┌────────────────────────────┐ ┌────────────────────────────┐ +│ This is a longer line. │ │ This is a longer line. │ │ This is a longer l[i]ne. │ +│ Shorter line. │ --> │ Shorter line.[] │ --> │ Shorter line. │ +│ This is another lo[n]g line. │ │ This is another long line. │ │ This is another long line. │ +└──────────────────────────────┘ └────────────────────────────┘ └────────────────────────────┘ diff --git a/runtime/help/no_op.txt b/runtime/help/no_op.txt new file mode 100644 index 000000000..b8e9d20cf --- /dev/null +++ b/runtime/help/no_op.txt @@ -0,0 +1,3 @@ +`no_op` + +Does nothing. Use this to disable default keybinds.