summaryrefslogtreecommitdiff
path: root/config/editor.el
diff options
context:
space:
mode:
authorSam Light <samlight1994@gmail.com>2025-05-18 22:18:26 +0100
committerSam Light <samlight1994@gmail.com>2025-05-18 22:18:26 +0100
commitf119104c6607d6e2872ce4370b3b9d54078902d5 (patch)
treed72b1b5b93a02d00d60d7d802fd63a138e0ae3e3 /config/editor.el
parentdc7402286727748bf3b6aaf46312642ceb2ee4e4 (diff)
Various improvements
Diffstat (limited to 'config/editor.el')
-rw-r--r--config/editor.el8
1 files changed, 6 insertions, 2 deletions
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))