You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/runtime/help/commands/move_line_up.txt

16 lines
1.2 KiB
Plaintext

`move_line_up`
Moves all cursors 1 line up, removing any selections.
3 years ago
Repeating this will remember the vertical position of the cursors,
even when moving across shorter lines.
--- Examples ---
3 years ago
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. │
└──────────────────────────────┘ └────────────────────────────┘ └────────────────────────────┘