Add popup hacks for pdf-tools' annot list windows
Annotations are displayed in stacked windows to the left of the pdf. Thanks to @UndeadKernel for help figuring this out.
This commit is contained in:
parent
0020631b2e
commit
6fe0017e24
1 changed files with 20 additions and 3 deletions
|
@ -184,6 +184,10 @@ the command buffer."
|
|||
(advice-add #'info-lookup-symbol :after #'+popup*switch-to-info-window)
|
||||
|
||||
|
||||
;; `multi-term'
|
||||
(setq multi-term-buffer-name "doom terminal")
|
||||
|
||||
|
||||
;; `neotree'
|
||||
(after! neotree
|
||||
(advice-add #'neo-util--set-window-width :override #'ignore)
|
||||
|
@ -244,9 +248,22 @@ instead of switch-to-buffer-*."
|
|||
(advice-add #'persp-load-state-from-file :after #'+popup*persp-mode-restore-popups))
|
||||
|
||||
|
||||
;; `multi-term'
|
||||
(after! multi-term
|
||||
(setq multi-term-buffer-name "doom terminal"))
|
||||
;; `pdf-tools'
|
||||
(after! pdf-tools
|
||||
(setq tablist-context-window-display-action
|
||||
'((+popup-display-buffer)
|
||||
(side . left)
|
||||
(slot . 2)
|
||||
(window-height . 0.3)
|
||||
(inhibit-same-window . t))
|
||||
pdf-annot-list-display-buffer-action
|
||||
'((+popup-display-buffer)
|
||||
(side . left)
|
||||
(slot . 3)
|
||||
(inhibit-same-window . t)))
|
||||
|
||||
(add-hook 'pdf-annot-list-mode-hook #'hide-mode-line-mode)
|
||||
(set! :popup "\\(^\\*Contents\\|'s annots\\*$\\)" :ignore t))
|
||||
|
||||
|
||||
;; `wgrep'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue