From aba87b0916d75b10d09938e4dc73b0ffd2909aff Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 14 May 2017 11:47:14 +0200 Subject: [PATCH] feature/evil: fix evil keybindings in help popups --- TODO.org | 3 ++- modules/feature/evil/config.el | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/TODO.org b/TODO.org index 8fec2fd3c..e507395c5 100644 --- a/TODO.org +++ b/TODO.org @@ -89,7 +89,7 @@ + [ ] twitter + [ ] present -** 2.0.3 [4/18] +** 2.0.3 [5/19] + [ ] lang/org: fix janky visual line motions (~evil-next-visual-line~, etc) + [ ] lang/org: fix janky cursor positioning when manipulating org-table cells + [ ] lang/org: don't move cursor when realigning org tables @@ -106,6 +106,7 @@ + [ ] tools/upload: add ~+upload/open-remote-file~ command to open current file on the remote (with TRAMP) + [ ] tools/regex: PCRE regex editor, maybe ~re-builder~ & ~pcre2el~? ++ [X] Fix evil normal-mode keybindings in help-mode popups + [X] Fix help-mode links opening new popups #ui Added ~:noclone~ property to popup rules + [X] Different faces for buffer path and file name #ui diff --git a/modules/feature/evil/config.el b/modules/feature/evil/config.el index 2af7ac80a..ba18e9c57 100644 --- a/modules/feature/evil/config.el +++ b/modules/feature/evil/config.el @@ -75,6 +75,8 @@ (dolist (mode '(tabulated-list-mode view-mode comint-mode term-mode calendar-mode Man-mode grep-mode)) (evil-set-initial-state mode 'emacs)) + (dolist (mode '(help-mode)) + (evil-set-initial-state mode 'normal)) ;; make `try-expand-dabbrev' from `hippie-expand' work in mini-buffer ;; @see `he-dabbrev-beg', so we need re-define syntax for '/'