reimplement vi's 'j' motion, and remove the original function for this motion which was in cursor.sml

This commit is contained in:
2025-09-19 22:33:37 +01:00
parent 2c88341c37
commit 859860b19f
4 changed files with 90 additions and 145 deletions

View File

@@ -147,7 +147,7 @@ struct
fun parseChr (app: app_type, count, chr, str, time) =
case chr of
#"h" => MoveViH.move (app, count)
| #"j" => MoveViJ.move (app, count)
| #"j" => NormalMove.moveCursorDown (app, count)
| #"k" => NormalMove.moveCursorUp (app, count)
| #"l" => MoveViL.move (app, count)
| #"w" => MoveToNextWord.move (app, count)