make 'dl' motion (including count) call the same function as the 'x' motion, because they have identical behaviour.

This commit is contained in:
2025-09-21 00:22:24 +01:00
parent 3b27e437bc
commit 6af2b58b0f

View File

@@ -251,7 +251,7 @@ struct
case chrCmd of
(* terminal commands: require no input after *)
#"h" => NormalDelete.deleteCharsLeft (app, count, time)
| #"l" => NormalDelete.deleteByDfa (app, count, Cursor.viL, time)
| #"l" => NormalDelete.removeChr (app, count, time)
(* vi's 'j' and 'k' commands move up or down a column
* but 'dj' or 'dk' delete whole lines
* so their implementation differs from