Skip to content

Commit

Permalink
Replace interleave with org-noter
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushalmodi committed Jun 8, 2021
1 parent ee8bed1 commit 60ab0b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
4 changes: 2 additions & 2 deletions init.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;; Time-stamp: <2021-06-04 15:30:25 kmodi>
;; Time-stamp: <2021-06-08 09:57:39 kmodi>
;; Author: Kaushal Modi

;; Global variables
Expand Down Expand Up @@ -88,7 +88,7 @@ need Org version to be at least 9.x.")
ibuffer-projectile
imenu-list
indent-guide
interleave ; takes notes associated to pdf files in org mode
org-noter ; takes notes associated to pdf files in org mode
isend-mode ; used in setup-perl.el
ivy swiper counsel
key-chord ; map pairs of simultaneously pressed keys to commands
Expand Down
15 changes: 4 additions & 11 deletions setup-files/setup-pdf.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;; Time-stamp: <2018-02-20 15:10:27 kmodi>
;; Time-stamp: <2021-06-08 10:05:18 kmodi>

;; PDF

Expand Down Expand Up @@ -57,16 +57,9 @@ Useful to run after `pdf-tools' updates."
("l" . pdf-history-backward)
("r" . pdf-history-forward))))

;; https://github.com/rudolfochrist/interleave
(use-package interleave
:init
(progn
(bind-to-modi-map "i" #'interleave-mode)
(with-eval-after-load 'doc-view
(bind-key "i" #'interleave-open-notes-file-for-pdf doc-view-mode-map))
(with-eval-after-load 'pdf-view
(bind-key "i" #'interleave-open-notes-file-for-pdf pdf-view-mode-map)))
:defer t)
;; https://github.com/weirdNox/org-noter
;; Org Noter bindings: https://github.com/weirdNox/org-noter#keys
(use-package org-noter)

(with-eval-after-load 'doc-view
;; In continuous mode, reaching the page edge advances to the next/prev page
Expand Down

0 comments on commit 60ab0b1

Please sign in to comment.