diff options
| author | Craig Jennings <c@cjennings.net> | 2025-07-01 14:15:25 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-07-01 14:15:25 -0500 |
| commit | 188637bee61db02d9940d0876086df3b57f9f65c (patch) | |
| tree | 0d179a711d3168f471e51b93f6ceef6b35d95e80 /modules | |
| parent | 8ba784883c049d5a7b9764612874b75ee7779220 (diff) | |
| download | dotemacs-188637bee61db02d9940d0876086df3b57f9f65c.tar.gz dotemacs-188637bee61db02d9940d0876086df3b57f9f65c.zip | |
adding continuous scroll code in custom + configuring in pdf-config
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/pdf-config.el | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/modules/pdf-config.el b/modules/pdf-config.el index 99fe30c5..d1047c84 100644 --- a/modules/pdf-config.el +++ b/modules/pdf-config.el @@ -17,12 +17,13 @@ (pdf-tools-install :no-query) ;; automatically compile on first launch :bind (:map pdf-view-mode-map - ("M" . pdf-view-midnight-minor-mode) + ("M" . pdf-view-midnight-minor-mode) ("m" . bookmark-set) ("C-=" . pdf-view-enlarge) ("C--" . pdf-view-shrink) ("z" . (lambda () (interactive) (cj/open-file-with-command "zathura"))) - ("e" . (lambda () (interactive) (cj/open-file-with-command "evince"))) + ("e" . (lambda () (interactive) (cj/open-file-with-command "evince"))) + ("C-c l" . org-store-link) ("j" . pdf-view-next-line-or-next-page) ("k" . pdf-view-previous-line-or-previous-page))) @@ -49,5 +50,14 @@ :config (setq pdf-view-restore-filename (concat user-emacs-directory "/.pdf-view-restore"))) +;; --------------------------- PDF Continuous Scroll --------------------------- + +;; provides continuous scrolling of PDF documents in PDF View +(use-package pdf-continuous-scroll-mode + :ensure nil ;; in custom folder + :after pdf-tools + :hook (pdf-view-mode . pdf-continuous-scroll-mode) + :load-path "custom/pdf-continuous-scroll-mode.el") + (provide 'pdf-config) ;;; pdf-config.el ends here |
