mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-23 11:30:23 +10:00
Adding pdf-tools and turning off dialogs/popups.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user