Description
Keybinding to move the current line up or down, swapping it with the adjacent line. The cursor stays on the moved line (same content), so repeating the key walks an item several positions in one motion โ e.g. move a list item up three spots with three presses. Works on any line but the primary use is reordering list items. Should be a single undo step per move and keep the cursor column.
Acceptance Criteria
- #1 A keybind moves the current line up, swapping with the line above; cursor stays on the moved line
- #2 A keybind moves the current line down, swapping with the line below; cursor stays on the moved line
- #3 No-op at the top (move up) / bottom (move down) of the document
- #4 Each move is one undo step; cursor column is preserved
- #5 README/help document the keys