tools/pdf: recognize modeline and doom-modeline
This commit is contained in:
parent
9afc61e57e
commit
239c183b70
2 changed files with 4 additions and 4 deletions
|
@ -30,7 +30,7 @@
|
|||
;; Turn off cua so copy works
|
||||
(add-hook! 'pdf-view-mode-hook (cua-mode 0))
|
||||
;; Custom modeline that removes useless info and adds page numbers
|
||||
(when (featurep! :ui doom-modeline)
|
||||
(when (or (featurep! :ui doom-modeline) (featurep! :ui modeline))
|
||||
(load! "+modeline"))
|
||||
;; Handle PDF-tools related popups better
|
||||
(set-popup-rule! "^\\*Outline*" :side 'right :size 40 :select nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue