mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
private/hlissner: add q/Q help-mode-map bindings
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user