From 8c9d01c9ba5454146179a974c47831c3d6ba2e55 Mon Sep 17 00:00:00 2001 From: AlxV07 Date: Fri, 22 May 2026 11:48:16 -0500 Subject: [PATCH] feat(C,D): add C (i.e. c$), D (d$) --- content.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/content.js b/content.js index 931636b..ebe7792 100644 --- a/content.js +++ b/content.js @@ -476,6 +476,14 @@ function handleKeyEventNormal(key) { goToEndOfLine() switchModeToInsert() break + case "C": + selectToEndOfLine() + runLongStringOp("c") + break + case "D": + selectToEndOfLine() + runLongStringOp("d") + break case "v": switchModeToVisual() break @@ -575,9 +583,11 @@ function handleKeyEventVisualLine(key) { goToDocStart(true) break case "c": + case "C": case "d": + case "D": case "y": - runLongStringOp(key) + runLongStringOp(key.toLowerCase()) break case "i": case "a":