summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThomas Voss <thomas.voss@humanwave.nl> 2025-08-29 10:17:03 +0200
committerThomas Voss <thomas.voss@humanwave.nl> 2025-08-29 10:17:03 +0200
commit0ba3388592356de9b4dfd55b3d5775cbe136f6de (patch)
treefdd1a1075ebdc5d0413b6c0e7e50801ea31b9406 /.config
parent249d86d1d7c576e68be1f1e5628a6f2815625095 (diff)
emacs: Use subword-mode
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/modules/mm-editing.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/.config/emacs/modules/mm-editing.el b/.config/emacs/modules/mm-editing.el
index 152b181..4c5e8be 100644
--- a/.config/emacs/modules/mm-editing.el
+++ b/.config/emacs/modules/mm-editing.el
@@ -394,6 +394,12 @@ is as described by `emmet-expand-line'."
;;; Add Missing Extensions
(dolist (pattern '("\\.tmac\\'" "\\.mom\\'"))
- (add-to-list 'auto-mode-alist (cons pattern 'nroff-mode)))
+ (add-to-list 'auto-mode-alist (cons pattern #'nroff-mode)))
-(provide 'mm-editing) \ No newline at end of file
+
+;;; Subword Navigation
+
+(use-package subword
+ :hook prog-mode)
+
+(provide 'mm-editing)