summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2022-12-23 20:16:41 +0800
committerJSDurand <mmemmew@gmail.com>2022-12-23 20:16:41 +0800
commit31f61aa6c2b6c870fbb9e358edb172bd96790e28 (patch)
treecd2c3481b009e91c6135378f13e0d13b275bec0b
parentbe3d74741520810012e684ed65d60b236ab83a5d (diff)
pdf: reorder the loading of some packages
-rw-r--r--pdf.el17
1 files changed, 9 insertions, 8 deletions
diff --git a/pdf.el b/pdf.el
index 2ef410c..dac65ee 100644
--- a/pdf.el
+++ b/pdf.el
@@ -77,6 +77,14 @@ Modifed by Durand 2021-07-27 10:42:02.828266."
((format "%d%%%%" (* 100 (cdr percent-floats)))))))
(message str)))
+(use-package "pdf-tools/lisp" 'pdf-history)
+(use-package "pdf-tools/lisp" 'pdf-links)
+(use-package "pdf-tools/lisp" 'pdf-outline)
+(use-package "pdf-tools/lisp" 'pdf-sync)
+(use-package "pdf-tools/lisp" 'pdf-occur)
+(use-package "pdf-tools/lisp" 'pdf-annot)
+(use-package "pdf-tools/lisp" 'pdf-tools)
+
(define-key pdf-view-mode-map (vector ?j) #'pdf-view-next-line-or-next-page)
(define-key pdf-view-mode-map (vector ?k) #'pdf-view-previous-line-or-previous-page)
(define-key pdf-view-mode-map (vector ?y) #'pdf-view-previous-line-or-previous-page)
@@ -87,13 +95,6 @@ Modifed by Durand 2021-07-27 10:42:02.828266."
(define-key pdf-view-mode-map (vector ?\C->) #'image-scroll-right)
(define-key pdf-view-mode-map (vector ?>) #'image-eob)
(define-key pdf-view-mode-map (vector ?<) #'image-bob)
+(define-key pdf-history-minor-mode-map (vector ?l) nil)
-(use-package "pdf-tools/lisp" 'pdf-history)
-(use-package "pdf-tools/lisp" 'pdf-links)
-(use-package "pdf-tools/lisp" 'pdf-outline)
-(use-package "pdf-tools/lisp" 'pdf-sync)
-(use-package "pdf-tools/lisp" 'pdf-occur)
-(use-package "pdf-tools/lisp" 'pdf-annot)
-(use-package "pdf-tools/lisp" 'pdf-tools)
(pdf-tools-install)
-