about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-01-16T23·31+0100
committerclbot <clbot@tvl.fyi>2022-01-17T12·19+0000
commit24881e39c9259d5dbd1d585011e47d4791579a12 (patch)
tree7a30097a00268bab80374f2c7181fa1885cb9673
parent4b46e6cd37d18c2749b57df2e8fd544ec62ecfcb (diff)
fix(users/sterni/emacs): reverse search in insert mode for sly r/3606
Change-Id: Id324c98912ba5ce08f06d8db260cd7ee129dd27d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4950
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: sterni <sternenseemann@systemli.org>
-rw-r--r--users/sterni/emacs/init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/sterni/emacs/init.el b/users/sterni/emacs/init.el
index 6fd28acaaa0c..f96848e4c8a0 100644
--- a/users/sterni/emacs/init.el
+++ b/users/sterni/emacs/init.el
@@ -163,7 +163,7 @@
   :after evil
   :hook ((sly-mrepl-mode . (lambda () (rainbow-delimiters-mode-enable))))
   :config
-  (evil-define-key 'normal sly-mrepl-mode-map (kbd "C-r") 'isearch-backward))
+  (evil-define-key '(normal insert) sly-mrepl-mode-map (kbd "C-r") 'isearch-backward))
 
 (use-package ada-mode)