aboutsummaryrefslogtreecommitdiff
path: root/Emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-04-23 16:58:33 +0530
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-04-23 17:03:59 +0530
commit2baf2fca03a6d0201939a4b4201b8b6e5a9bda3f (patch)
tree7ad4b2bd4c4192558e2954794a001e96e9450eca /Emacs
parente172610a69e13be9cb058464b9c66b888e866d27 (diff)
downloaddotfiles-2baf2fca03a6d0201939a4b4201b8b6e5a9bda3f.tar.gz
dotfiles-2baf2fca03a6d0201939a4b4201b8b6e5a9bda3f.tar.bz2
dotfiles-2baf2fca03a6d0201939a4b4201b8b6e5a9bda3f.zip
(Emacs/app|lang)~pdf-tools is disabled, dired-guess-shell pdf zathura
I find pdf-tools really slow in comparison to zathura, with very little benefit to it being integrated into Emacs. Zathura is faster, leaner and more fit for purpose. PDFs, if a shell command may be invoked on them in dired, now show zathura as a default argument.
Diffstat (limited to 'Emacs')
-rw-r--r--Emacs/.config/emacs/app.org2
-rw-r--r--Emacs/.config/emacs/lang.org5
2 files changed, 5 insertions, 2 deletions
diff --git a/Emacs/.config/emacs/app.org b/Emacs/.config/emacs/app.org
index bfea843..669b1c5 100644
--- a/Emacs/.config/emacs/app.org
+++ b/Emacs/.config/emacs/app.org
@@ -217,6 +217,7 @@ are some corners I'd like to adjust).
(dired "~/Text/PDFs/"))
:which-key "Open PDFs"))
:config
+ (add-to-list 'dired-guess-shell-alist-user '("\\.pdf\\'" "zathura"))
(defun +dired/insert-all-subdirectories ()
"Insert all subdirectories currently viewable."
(interactive)
@@ -247,7 +248,6 @@ are some corners I'd like to adjust).
"m" #'dired-mark-files-regexp
"u" #'dired-undo))
#+end_src
-
** fd-dired
Uses fd for finding file results in a directory: ~find-dired~ ->
~fd-dired~.
diff --git a/Emacs/.config/emacs/lang.org b/Emacs/.config/emacs/lang.org
index 33b6861..fb1ee36 100644
--- a/Emacs/.config/emacs/lang.org
+++ b/Emacs/.config/emacs/lang.org
@@ -68,7 +68,10 @@ 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
+** WAIT PDF tools
+:PROPERTIES:
+:header-args:emacs-lisp: :tangle no
+:END:
~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.