summaryrefslogtreecommitdiff
path: root/emacs/.config/emacs-kj/init.el
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-10-20 09:33:21 -0400
committerKjetil Orbekk <kj@orbekk.com>2023-10-20 09:38:31 -0400
commitf9bb7aa5fd99f149ef7edacfd94f8d5e70cc518e (patch)
tree3638956985f0d5e315a9c67c4bdc30a8bb3c5bea /emacs/.config/emacs-kj/init.el
parenta738e25f51c8f30dee4447c78a0e61bf5aea446d (diff)
fixes
Diffstat (limited to 'emacs/.config/emacs-kj/init.el')
-rw-r--r--emacs/.config/emacs-kj/init.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el
index 24a3a6b..67660b4 100644
--- a/emacs/.config/emacs-kj/init.el
+++ b/emacs/.config/emacs-kj/init.el
@@ -79,7 +79,8 @@
(dolist (mode '(calendar-mode-hook
eshell-mode-hook
term-mode-hook
- comint-mode-hook))
+ comint-mode-hook
+ notmuch-show-mode))
(add-hook mode
(lambda (&rest args)
(setq show-trailing-whitespace nil))))
@@ -693,6 +694,9 @@
(load-file google-config-file)))
(define-key isearch-mode-map (kbd "C-RET")
+ #'isearch-exit-other-end)
+;; Why does C-RET not always work?
+(define-key isearch-mode-map (kbd "C-<return>")
#'isearch-exit-other-end)
(defun isearch-exit-other-end ()
"Exit isearch, at the opposite end of the string."