From f811cdade62af88307044632c10cba1db44ea25e Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 21 Oct 2018 11:50:44 -0400 Subject: [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. --- init.org | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'init.org') diff --git a/init.org b/init.org index cfbeea8..4695635 100644 --- a/init.org +++ b/init.org @@ -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 -- cgit v1.2.3-60-g2f50