commit 56164c2ec27c875a5ab6e41ea087c3b3a85bdf85
parent e17ecba4b01ea63cbff989a1dee2c577755cf6bf
Author: Vincent Demeester <vincent@sbr.pm>
Date: Wed, 19 Aug 2020 17:34:15 +0200
tools/emacs: enable subword mode
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/tools/emacs/config/config-editing.el b/tools/emacs/config/config-editing.el
@@ -298,5 +298,9 @@ If region is active, add its contents to the new buffer."
:hook (scratch-create-buffer . vde/scratch-buffer-setup)
:bind ("C-c s" . scratch))
+(use-package subword
+ :diminish
+ :hook (prog-mode-hook . subword-mode))
+
(provide 'config-editing)
;;; config-editing.el ends here