diff options
author | 2018-10-21 11:50:44 -0400 | |
---|---|---|
committer | 2018-10-21 11:50:44 -0400 | |
commit | f811cdade62af88307044632c10cba1db44ea25e (patch) | |
tree | 99bf00c41b671392cdbe9a5278e49af5bd75c7ef /init.org | |
parent | ff3efe943f4ef305d125f2419ec0fe3ca1823274 (diff) | |
download | configs-f811cdade62af88307044632c10cba1db44ea25e.tar.gz configs-f811cdade62af88307044632c10cba1db44ea25e.tar.xz configs-f811cdade62af88307044632c10cba1db44ea25e.zip |
[emacs] assimilate pdf-tools and deps
anzu is not a dependency, but I noticed doom-modeline refers to it
when using isearch (in pdf-view-mode swiper searches through binary
contents of a pdf, so we'll fall back to isearch), resulting in a
warning if it's not present.
Diffstat (limited to 'init.org')
-rw-r--r-- | init.org | 24 |
1 files changed, 22 insertions, 2 deletions
@@ -833,8 +833,8 @@ There's no way I could top that, so I won't attempt to. #+begin_src emacs-lisp (use-package swiper - :bind (([remap isearch-forward] . swiper) - ([remap isearch-backward] . swiper))) + :bind (("C-s" . swiper) + ("C-r" . swiper))) #+end_src **** Counsel @@ -1503,6 +1503,26 @@ Also see [[https://www.emacswiki.org/emacs/rebox2][rebox2]]. (set-face-foreground 'highlight-indent-guides-top-character-face "grey40")) ; grey13 is nice too #+end_src +** pdf-tools + +#+begin_src emacs-lisp +(use-package pdf-tools + :magic ("%PDF" . pdf-view-mode) + :config (pdf-tools-install) + :bind + (:map pdf-view-mode-map + ("C-s" . isearch-forward) + ("C-r" . isearch-backward) + ("j" . pdf-view-next-line-or-next-page) + ("j" . pdf-view-previous-line-or-previous-page))) +#+end_src + +** anzu + +#+begin_src emacs-lisp +(use-package anzu) +#+end_src + * Email #+begin_src emacs-lisp |