From 31f61aa6c2b6c870fbb9e358edb172bd96790e28 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Fri, 23 Dec 2022 20:16:41 +0800 Subject: pdf: reorder the loading of some packages --- pdf.el | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'pdf.el') 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) - -- cgit v1.2.3-18-g5258