diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2022-07-28 18:11:17 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2022-07-28 18:11:17 +0100 |
commit | d7a6d933c8e11562d69fc62b47e6e35779ad96e3 (patch) | |
tree | 09cbd32873fe7600af4dfdbe3315db784215a26b | |
parent | 70605994d0454573726a65ced017ca65ad636f29 (diff) | |
download | dotfiles-d7a6d933c8e11562d69fc62b47e6e35779ad96e3.tar.gz dotfiles-d7a6d933c8e11562d69fc62b47e6e35779ad96e3.tar.bz2 dotfiles-d7a6d933c8e11562d69fc62b47e6e35779ad96e3.zip |
(Emacs)~pdf tools, ~title for compilation
+display system for pdf opening
-rw-r--r-- | Emacs/.config/emacs/config.org | 8 |
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))) |