add '<count>yx' function to both yank and delete a specified character

This commit is contained in:
2025-09-07 23:39:33 +01:00
parent fd303c0f7d
commit 0a0f723b9b

View File

@@ -478,6 +478,7 @@ struct
| #"%" => NormalYank.yankToMatchingPair app | #"%" => NormalYank.yankToMatchingPair app
| #"n" => NormalYank.yankToNextMatch (app, count) | #"n" => NormalYank.yankToNextMatch (app, count)
| #"N" => NormalYank.yankToPrevMatch (app, count) | #"N" => NormalYank.yankToPrevMatch (app, count)
| #"x" => NormalYankDelete.removeChr (app, count, time)
(* append non-terminal characters to string *) (* append non-terminal characters to string *)
| #"d" => | #"d" =>
let (* 'yd' motion, like 'ydw'; meant to be 'yank then delete' *) let (* 'yd' motion, like 'ydw'; meant to be 'yank then delete' *)