summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--attic/elisp/misc.el36
1 files changed, 12 insertions, 24 deletions
diff --git a/attic/elisp/misc.el b/attic/elisp/misc.el
index dc3a76c..e634548 100644
--- a/attic/elisp/misc.el
+++ b/attic/elisp/misc.el
@@ -598,30 +598,6 @@
(unless (display-graphic-p) (global-company-mode 1))
-;;; pdf-tools
-(use-package pdf-tools
- :ensure t
- :demand t
- :init
- (add-hook 'after-init-hook
- (lambda ()
- (setq pdf-view-midnight-colors
- (cons (frame-parameter nil 'foreground-color)
- (frame-parameter nil 'background-color)))))
-
- :hook ((pdf-view-mode . jao-doc-session-mark))
-
- :config (pdf-tools-install)
-
- :diminish ((pdf-view-midnight-minor-mode . ""))
-
- :bind (:map pdf-view-mode-map
- (("C-c C-d" . pdf-view-midnight-minor-mode)
- ("j" . pdf-view-next-line-or-next-page)
- ("J" . pdf-view-scroll-up-or-next-page)
- ("k" . pdf-view-previous-line-or-previous-page)
- ("K" . pdf-view-scroll-down-or-previous-page))))
-
;;; eldoc for magit status/log buffers
(defun jao-magit-eldoc-for-commit (_callback)
(when-let ((commit (magit-commit-at-point)))
@@ -796,6 +772,18 @@
(when-let* ((a (completing-read "Play album: " resa nil t))
(s (car (alist-get a resa nil nil 'string=))))
(jao-mpc--add-and-play s port t)))))
+;;; dogears
+(use-package dogears
+ :ensure t
+ :enabled nil
+ :bind (:map global-map
+ ("M-g d" . dogears-go)
+ ("M-g M-b" . dogears-back)
+ ("M-g M-f" . dogears-forward)
+ ("M-g M-d" . dogears-list)
+ ("M-g M-D" . dogears-sidebar)))
+
+(dogears-mode)
;;; snippets
(defun jao-sway-run-or-focus-tidal ()
(interactive)