summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.config/emacs-kj/init.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el
index 4a77f46..c4cc03a 100644
--- a/emacs/.config/emacs-kj/init.el
+++ b/emacs/.config/emacs-kj/init.el
@@ -43,7 +43,7 @@
(setq sentence-end-double-space nil)
(setq save-interprogram-paste-before-kill t)
(setq enable-recursive-minibuffers t)
-;; This interferes with meow hilighting with some themes.
+;; This interferes with meow highlighting with some themes.
; (global-hl-line-mode 1)
(global-auto-revert-mode 1)
@@ -686,7 +686,9 @@
(use-package emacs
:bind
- (("C-c C-b C-r" . revert-buffer)
+ (("C-w" . backward-kill-word)
+ ("C-c d" . kill-region)
+ ("C-c C-b C-r" . revert-buffer)
("C-c C-r C-e" . consult-flymake)
("C-c C-r C-f" . eglot-format)
("C-c C-r C-g" . recompile)
@@ -880,3 +882,7 @@
(calendar-iso-from-absolute
(calendar-absolute-from-gregorian (list month day year)))))
'font-lock-face 'calendar-iso-week-face))
+
+(setq ispell-local-dictionary "en_US")
+(add-hook 'text-mode-hook (defun kj/flyspell-mode () (flyspell-mode 1)))
+(add-hook 'prog-mode-hook (defun kj/flyspell-mode () (flyspell-prog-mode 1)))