PDF: Comment on windmove+Evil issue and setup midnight mode

master
Pierre Neidhardt 2017-10-22 14:24:43 +01:00
parent d2fc5d63fb
commit 186680c5d0
1 changed files with 5 additions and 1 deletions

View File

@ -267,9 +267,13 @@
;;; association.
;;; REVIEW: `save-place' does not seem to work with pdf-tools.
;;; See https://github.com/politza/pdf-tools/issues/18.
;;; TODO: windmove fails when selecting text and then moving up/down.
;;; It only fails if in evil mode.
(nconc package-selected-packages '(pdf-tools))
(when (require 'pdf-tools nil t)
(setq pdf-view-midnight-colors '("#ffffff" . "#000000"))
;; (setq pdf-view-midnight-colors '("#ffffff" . "#000000"))
(setq pdf-view-midnight-colors '("#ff9900" . "#0a0a12" )) ; Amber
(add-hook 'pdf-view-mode-hook 'pdf-view-midnight-minor-mode)
(pdf-tools-install t t t))
;;; Perl