feature/popup: switch to *info* popups
This commit is contained in:
parent
1af246daeb
commit
f1c0d70e34
1 changed files with 8 additions and 0 deletions
|
@ -158,6 +158,14 @@ the command buffer."
|
||||||
(advice-add #'helpful--navigate :override #'+popup*helpful--navigate))
|
(advice-add #'helpful--navigate :override #'+popup*helpful--navigate))
|
||||||
|
|
||||||
|
|
||||||
|
;; `Info'
|
||||||
|
(defun +popup*switch-to-info-window (&rest _)
|
||||||
|
(when-let* ((win (get-buffer-window "*info*")))
|
||||||
|
(when (+popup-window-p win)
|
||||||
|
(select-window win))))
|
||||||
|
(advice-add #'info-lookup-symbol :after #'+popup*switch-to-info-window)
|
||||||
|
|
||||||
|
|
||||||
;; `neotree'
|
;; `neotree'
|
||||||
(after! neotree
|
(after! neotree
|
||||||
(advice-add #'neo-util--set-window-width :override #'ignore)
|
(advice-add #'neo-util--set-window-width :override #'ignore)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue