all repos — nixfiles @ c0810b3bf27f6bc9e1359aa1422d285dc8168985

System and user configuration, managed by nix and home-manager

Emacs: make underscore part of word in c-like modes

Alan Pearce
commit

c0810b3bf27f6bc9e1359aa1422d285dc8168985

parent

e959065e1b42bd5910c4bf25c77711ef43f58c17

1 file changed, 4 insertions(+), 0 deletions(-)

jump to
M user/emacs/init.eluser/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)