make 'dl' motion (including count) call the same function as the 'x' motion, because they have identical behaviour.
This commit is contained in:
@@ -251,7 +251,7 @@ struct
|
|||||||
case chrCmd of
|
case chrCmd of
|
||||||
(* terminal commands: require no input after *)
|
(* terminal commands: require no input after *)
|
||||||
#"h" => NormalDelete.deleteCharsLeft (app, count, time)
|
#"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
|
(* vi's 'j' and 'k' commands move up or down a column
|
||||||
* but 'dj' or 'dk' delete whole lines
|
* but 'dj' or 'dk' delete whole lines
|
||||||
* so their implementation differs from
|
* so their implementation differs from
|
||||||
|
|||||||
Reference in New Issue
Block a user