From f119104c6607d6e2872ce4370b3b9d54078902d5 Mon Sep 17 00:00:00 2001 From: Sam Light Date: Sun, 18 May 2025 22:18:26 +0100 Subject: Various improvements --- config/editor.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'config/editor.el') diff --git a/config/editor.el b/config/editor.el index e7b65e1..6b471d3 100644 --- a/config/editor.el +++ b/config/editor.el @@ -2,7 +2,6 @@ (use-package emacs :init - ;; Set all unicode (set-charset-priority 'unicode) (setq locale-coding-system 'utf-8 @@ -26,8 +25,11 @@ (global-auto-revert-mode t) - (global-hl-line-mode 1)) + (global-hl-line-mode 1) + + (global-subword-mode t) + (add-hook 'prog-mode-hook (lambda () (modify-syntax-entry ?_ "_")))) ;; meaningful names for buffers with the same name (use-package uniquify @@ -124,4 +126,6 @@ (use-package flycheck :ensure t + :bind + (("C-c C-e" . flycheck-list-errors)) :init (global-flycheck-mode)) -- cgit v1.2.3