private/hlissner: add q/Q help-mode-map bindings
This commit is contained in:
parent
199ece00d8
commit
7f385e6d6e
2 changed files with 10 additions and 0 deletions
|
@ -217,3 +217,11 @@ counsel-rg)."
|
|||
(re-search-forward (ivy--regex ivy-text t) (line-end-position) t)
|
||||
(run-hooks 'counsel-grep-post-action-hook)
|
||||
(selected-window))))))
|
||||
|
||||
;;;###autoload
|
||||
(defun +ivy-quit-and-resume ()
|
||||
"Close the current popup window and resume ivy."
|
||||
(interactive)
|
||||
(when (doom-popup-p)
|
||||
(doom/popup-close))
|
||||
(ivy-resume))
|
||||
|
|
|
@ -301,6 +301,8 @@
|
|||
|
||||
;; help-mode
|
||||
(:map help-mode-map
|
||||
:n "q" #'quit-window
|
||||
:n "Q" #'+ivy-quit-and-resume
|
||||
:n "]]" #'help-go-forward
|
||||
:n "[[" #'help-go-back
|
||||
:n "o" #'ace-link-help)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue