From 165541cdaeccdd0637cd61cc33a8387e8876bcb4 Mon Sep 17 00:00:00 2001 From: Gerry Agbobada Date: Thu, 15 Apr 2021 18:31:42 +0200 Subject: [PATCH] fix(input layout bepo): unmap t/s in Info-mode-map Fixes #4848 --- modules/input/layout/+bepo.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/input/layout/+bepo.el b/modules/input/layout/+bepo.el index 158c0a471..83dc36b8a 100644 --- a/modules/input/layout/+bepo.el +++ b/modules/input/layout/+bepo.el @@ -181,6 +181,14 @@ ;; takes precedence over the evil command to go up one line (map! :map notmuch-common-keymap :n "s" nil) (map! :map notmuch-common-keymap "s" nil)) + (after! (evil info) + ;; Without this, "s" stays mapped to 'Info-search (in the "global" + ;; Info-mode-map) and takes precedence over the evil command to go up one + ;; line (remapped in Info-mode-normal-state-map). + ;; Same for "t" that is 'Info-top-node in the "global" Info-mode-map + (map! :map Info-mode-map + "s" nil + "t" nil)) (after! (evil magit) (doom-bepo-rotate-ts-bare-keymap '(magit-mode-map