add 'D' motion, which does the same thing as 'd$' (these two aliases exist in Vim too, to do the same thing)

This commit is contained in:
2025-10-16 15:02:45 +01:00
parent 3e1e80cd93
commit c4c6634d79
2 changed files with 2 additions and 1 deletions

View File

@@ -194,6 +194,7 @@ struct
if String.size str = 0 then NormalMove.moveToEnd app
else NormalMove.moveToLine (app, count)
| #"%" => NormalMove.moveToMatchingPair app
| #"D" => NormalDelete.deleteToEndOfLine (app, time)
| #"x" => NormalDelete.removeChr (app, count, time)
| #"J" => NormalDelete.removeLineBreaks (app, count, time)
| #"/" => switchToNormalSearchMode (app, false)