The w key now skips over snake_case words

This commit is contained in:
Howard Abrams 2022-09-02 16:13:26 -07:00
parent 3cad9fdaf6
commit 06239b0963

View file

@ -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))