work on implementing screen-wise motions

This commit is contained in:
2025-06-01 02:18:22 -04:00
parent ff05dd0e3b
commit 3a0b171058
4 changed files with 181 additions and 34 deletions

View File

@@ -247,6 +247,7 @@ impl Verb {
pub enum Motion {
WholeLine,
TextObj(TextObj, Bound),
EndOfLastWord,
BeginningOfFirstWord,
BeginningOfLine,
EndOfLine,
@@ -259,6 +260,10 @@ pub enum Motion {
ScreenLineUp,
LineDown,
ScreenLineDown,
BeginningOfScreenLine,
FirstGraphicalOnScreenLine,
HalfOfScreen,
HalfOfScreenLineText,
WholeBuffer,
BeginningOfBuffer,
EndOfBuffer,