-
Notifications
You must be signed in to change notification settings - Fork 276
Fix up Info-mode #501
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix up Info-mode #501
Conversation
I'm curious about why When pressing ;; eval under evil-normal-state
(mapcar 'car evil-mode-map-alist)
;;=> (t evil-normal-state-local-minor-mode outline-minor-mode evil-collection-unimpaired-mode t evil-normal-state-minor-mode t evil-motion-state-local-minor-mode visual-line-mode evil-collection-unimpaired-mode evil-motion-state-minor-mode) Found that ;; eval under evil-normal-state
(describe-keymap (alist-get 'evil-motion-state-minor-mode evil-mode-map-alist))
;; ...
;; , evil-repeat-find-char-reverse
;; - evil-previous-line-first-non-blank
;; / evil-search-forward
;; 0 evil-digit-argument-or-evil-beginning-of-line
;; 1 .. 9 digit-argument
;; : evil-ex
;; ; evil-repeat-find-char
;; ? evil-search-backward
;; B evil-backward-WORD-begin
;; E evil-forward-WORD-end
;; ... [1, 9] have already bound to So when I press |
|
evil-collection/modes/info/evil-collection-info.el Lines 37 to 41 in d8d8b13
(defun evil-collection-info-setup ()
"Set up `evil' bindings for `info-mode'."
(evil-collection-set-readonly-bindings 'Info-mode-map)
+ (assoc-delete-all 'Info-mode-map evil-overriding-maps)
(evil-set-initial-state 'Info-mode 'normal)
(evil-collection-define-key 'normal 'Info-mode-map Let me know if there's a better way to do this |
If you're a |
FYI, I propose to change the default value of |
When that change comes through, I can remove the manual evil overrides in evil-collection/modes/info/evil-collection-info.el Lines 96 to 107 in d8d8b13
evil-collection/modes/info/evil-collection-info.el Lines 114 to 131 in d8d8b13
|
The PR is merged. |
no longer needed after emacs-evil/evil#1488
no longer needed after emacs-evil/evil#1488
> "gd" does not match the rationale of "go to definition" * `Info-goto-node` bound to `g` in emacs Info mode, bind to `g G` instead * `L` taken by evil, `g L` for `Info-history` instead
The mappings are fixed |
Thanks |
No description provided.