Enable midnight-minor-mode for pdf-tools
This commit is contained in:
parent
abf98cf956
commit
f7bb9afa05
@ -8,8 +8,8 @@
|
||||
:config
|
||||
; Line Truncation @ https://www.gnu.org/software/emacs/manual/html_node/emacs/Line-Truncation.html
|
||||
(add-hook 'org-mode-hook (lambda () (setq truncate-lines nil)))
|
||||
; Dynamic Headline Numbering @ https://orgmode.org/manual/Dynamic-Headline-Numbering.html
|
||||
(setq org-startup-numerated t)
|
||||
;; ; Dynamic Headline Numbering @ https://orgmode.org/manual/Dynamic-Headline-Numbering.html
|
||||
;; (setq org-startup-numerated t)
|
||||
; Hide emphasis markup characters in buffers @ https://orgmode.org/manual/Emphasis-and-Monospace.html
|
||||
(setq org-hide-emphasis-markers t)
|
||||
; if there is a #+ATTR.*: width="200", resize to 200, otherwise resize to 320
|
||||
|
@ -28,7 +28,7 @@
|
||||
(require 'pdf-annot) ; 设置 pdf-annot-mimor-mode-map
|
||||
(require 'pdf-history) ; 设置 pdf-history-minor-mode-map
|
||||
(add-hook 'pdf-view-mode-hook 'pdf-view-fit-width-to-window) ; 默认适应页宽
|
||||
; (add-hook 'pdf-view-mode-hook 'pdf-view-midnight-minor-mode) ; 默认夜间模式
|
||||
(add-hook 'pdf-view-mode-hook 'pdf-view-midnight-minor-mode) ; 默认夜间模式
|
||||
(add-hook 'TeX-after-compilation-finished-functions
|
||||
#'TeX-revert-document-buffer) ; 完成编译后刷新 pdf 文件
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user