diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index c87d84d..8fb6cae 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -374,7 +374,10 @@ :ensure t :demand t :config - (global-evil-surround-mode t)) + (global-evil-surround-mode t) + (add-hook 'c++-mode-hook (lambda () + (push '(?/ . ("/*" . "*/")) + evil-surround-pairs-alist)))) (use-package projectile :ensure t