summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-10-31 12:06:29 -0500
committerCraig Jennings <c@cjennings.net>2025-10-31 12:06:29 -0500
commitac230eef05cf9013b0e246230363e46167294626 (patch)
treea84385a1894cccc030709320cc21af6d715428d2
parent6eeabcac450cac31ea147d09fe044711d2fbb1d5 (diff)
chore:custom-misc: update keybindings for word/char count
Change keybindings for counting words and characters to "# w" and "# c" to improve mnemonic efficiency. Update the corresponding which-key descriptions accordingly.
-rw-r--r--modules/custom-misc.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/custom-misc.el b/modules/custom-misc.el
index ec523a7a..7ba5a054 100644
--- a/modules/custom-misc.el
+++ b/modules/custom-misc.el
@@ -165,8 +165,8 @@ to nil."
(keymap-set cj/custom-keymap ")" #'cj/jump-to-matching-paren)
(keymap-set cj/custom-keymap "f" #'cj/format-region-or-buffer)
-(keymap-set cj/custom-keymap "W" #'cj/count-words-buffer-or-region)
-(keymap-set cj/custom-keymap "C" #'cj/count-characters-buffer-or-region)
+(keymap-set cj/custom-keymap "# w" #'cj/count-words-buffer-or-region)
+(keymap-set cj/custom-keymap "# c" #'cj/count-characters-buffer-or-region)
(keymap-set cj/custom-keymap "/" #'cj/replace-fraction-glyphs)
(keymap-set cj/custom-keymap "A" #'align-regexp)
(keymap-set cj/custom-keymap "SPC" #'cj/switch-to-previous-buffer)
@@ -176,8 +176,8 @@ to nil."
(which-key-add-key-based-replacements
"C-; )" "jump to paren"
"C-; f" "format buffer"
- "C-; W" "count words"
- "C-; C" "count characters"
+ "C-; # w" "count words"
+ "C-; # c" "count characters"
"C-; /" "fraction glyphs"
"C-; A" "align regexp"
"C-; SPC" "prev buffer"