Emacs: make underscore part of word in c-like modes
Alan Pearce alan@alanpearce.eu
Sun, 28 Mar 2021 19:30:41 +0200
1 files changed, 4 insertions(+), 0 deletions(-)
jump to
M user/emacs/init.el → user/emacs/init.el
@@ -297,6 +297,10 @@ ";" #'evil-ex) (:states '(normal motion) "g s" #'evil-avy-goto-symbol-1)) +(add-hook 'c-mode-common-hook + ; make b/w/e include underscore as *part* of a word + (lambda () (modify-syntax-entry ?_ "w"))) + (use-package evil-anzu :defer 2 :after evil)