aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Emacs/.config/emacs/config.org8
1 files changed, 6 insertions, 2 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 7ecf3af..6e2f511 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -1983,7 +1983,7 @@ However, if necessary later, define a function that may activate tabs locally.
(interactive)
(setq-local indent-tabs-mode t))
#+end_src
-*** Colourising compilation
+*** Compilation
Colourising the compilation buffer so ANSI colour codes get computed.
#+begin_src emacs-lisp
(use-package compile
@@ -2027,13 +2027,17 @@ Emacs, having a PDF viewer builtin can be a very useful asset.
For example if I were editing an org document which I was eventually
compiling into a PDF, my workflow would be much smoother with a PDF
viewer within Emacs that I can open on another pane.
-*** PDF Tools
+*** PDF tools
=pdf-tools= provides the necessary functionality for viewing PDFs.
There is no proper PDF viewing without this package.
=evil-collection= provides a setup for this mode, so use that.
#+begin_src emacs-lisp
(use-package pdf-tools
:mode ("\\.[pP][dD][fF]" . pdf-view-mode)
+ :display
+ ("^.*pdf$"
+ (display-buffer-same-window)
+ (inhibit-duplicate-buffer . t))
:config
(with-eval-after-load "evil-collection"
(evil-collection-pdf-setup)))