Adding pdf-tools and turning off dialogs/popups.

This commit is contained in:
Derek Taylor
2023-11-18 08:25:11 -06:00
parent 82e1bbbd71
commit ada9eb05c6
2 changed files with 34 additions and 1 deletions

View File

@@ -527,6 +527,17 @@
(require 'org-tempo)
(use-package pdf-tools
:ensure t
:defer t
:commands (pdf-loader-install)
:mode "\\.pdf\\'"
:bind (:map pdf-view-mode-map
("j" . pdf-view-next-line-or-next-page)
("k" . pdf-view-previous-line-or-previous-page))
:init (pdf-loader-install)
:config (add-to-list 'revert-without-query ".pdf"))
(use-package perspective
:custom
;; NOTE! I have also set 'SCP =' to open the perspective menu.
@@ -577,6 +588,9 @@
(scroll-bar-mode -1) ;; Disable the scroll bar
(tool-bar-mode -1) ;; Disable the tool bar
(setq org-edit-src-content-indentation 0) ;; Set src block automatic indent to 0 instead of 2.
(setq use-file-dialog nil) ;; No file dialog
(setq use-dialog-box nil) ;; No dialog box
(setq pop-up-windows nil) ;; No popup windows
(use-package eshell-toggle
:custom