early support for visual line motions like gk and gj

This commit is contained in:
2025-05-28 02:45:16 -04:00
parent 1c33578478
commit d15903fea1
4 changed files with 96 additions and 16 deletions

View File

@@ -251,8 +251,12 @@ pub enum Motion {
ForwardChar,
/// move to the same column on the previous line
LineUp,
/// move to the same column on the previous visual line
ScreenLineUp,
/// move to the same column on the next line
LineDown,
/// move to the same column on the next visual line
ScreenLineDown,
/// Whole user input (not really a movement but a range)
WholeBuffer,
/// beginning-of-register