From 06239b09632b1a9a34a36a9b8efcd76277d3a153 Mon Sep 17 00:00:00 2001 From: Howard Abrams Date: Fri, 2 Sep 2022 16:13:26 -0700 Subject: [PATCH] The w key now skips over snake_case words --- ha-config.org | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ha-config.org b/ha-config.org index 46335ba..266fca9 100644 --- a/ha-config.org +++ b/ha-config.org @@ -400,6 +400,10 @@ Can we change Evil at this point? Some tips: evil-escape-unordered-key-sequence t) :config + ;; Underscores are part of a symbolic word in programming languages: + ;; Sure, I could use capital `W' and `B', but I often forget that. + (modify-syntax-entry ?_ "w") + ;; Now that `evil-disable-insert-state-bindings' works to use Emacs ;; keybindings in Evil's insert mode, we no longer need this code: ;; (setq evil-insert-state-map (make-sparse-keymap))