Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/help/static-commands/move_line_up.md')
-rw-r--r--runtime/help/static-commands/move_line_up.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/runtime/help/static-commands/move_line_up.md b/runtime/help/static-commands/move_line_up.md
new file mode 100644
index 00000000..5fdef6c1
--- /dev/null
+++ b/runtime/help/static-commands/move_line_up.md
@@ -0,0 +1,15 @@
+`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. │
+└──────────────────────────────┘ └────────────────────────────┘ └────────────────────────────┘