diff options
| author | condy <condy0919@gmail.com> | 2020-11-14 18:55:52 +0800 |
|---|---|---|
| committer | Pierre Neidhardt <mail@ambrevar.xyz> | 2020-11-15 18:53:44 +0100 |
| commit | 718962ed31ddbde9eb98ec7c5ec53e0b2aae7f06 (patch) | |
| tree | ca2bbd27917e76d52ae7cd2b63c8e86089de71cf | |
| parent | 3eada62f93ddf786f503239d4c2749bc47ca83dc (diff) | |
help: revamped via read-only bindings
| -rw-r--r-- | modes/help/evil-collection-help.el | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/modes/help/evil-collection-help.el b/modes/help/evil-collection-help.el index da6b5d5..d84e17f 100644 --- a/modes/help/evil-collection-help.el +++ b/modes/help/evil-collection-help.el @@ -36,7 +36,7 @@ (defun evil-collection-help-setup () "Set up `evil' bindings for `help'." (evil-set-initial-state 'help-mode 'normal) - (evil-collection-inhibit-insert-state 'help-mode-map) + (evil-collection-set-readonly-bindings 'help-mode-map) (evil-collection-define-key 'normal 'help-mode-map ;; motion (kbd "SPC") 'scroll-up-command @@ -68,12 +68,7 @@ "gr" 'revert-buffer "<" 'help-go-back ">" 'help-go-forward - "r" 'help-follow - - ;; quit - "q" 'quit-window - "ZQ" 'evil-quit - "ZZ" 'quit-window)) + "r" 'help-follow)) (provide 'evil-collection-help) ;;; evil-collection-help.el ends here |
