From 6af2b58b0f5eee4b3f21552eaeafe19e185dab2f Mon Sep 17 00:00:00 2001 From: Humza Shahid Date: Sun, 21 Sep 2025 00:22:24 +0100 Subject: [PATCH] make 'dl' motion (including count) call the same function as the 'x' motion, because they have identical behaviour. --- fcore/normal-mode/normal-mode.sml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fcore/normal-mode/normal-mode.sml b/fcore/normal-mode/normal-mode.sml index dd1a4e9..e8268a7 100644 --- a/fcore/normal-mode/normal-mode.sml +++ b/fcore/normal-mode/normal-mode.sml @@ -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