summaryrefslogtreecommitdiff
path: root/config/editor.el
diff options
context:
space:
mode:
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))