diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2023-10-20 09:33:21 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2023-10-20 09:38:31 -0400 |
commit | f9bb7aa5fd99f149ef7edacfd94f8d5e70cc518e (patch) | |
tree | 3638956985f0d5e315a9c67c4bdc30a8bb3c5bea /emacs/.config | |
parent | a738e25f51c8f30dee4447c78a0e61bf5aea446d (diff) |
fixes
Diffstat (limited to 'emacs/.config')
-rw-r--r-- | emacs/.config/emacs-kj/init.el | 6 |
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." |