[nov.el] set modifier-free keybindings

This commit is contained in:
contrapunctus 2021-11-18 15:13:45 +05:30
parent 7b8e87efcb
commit 4085bf94da
1 changed files with 5 additions and 4 deletions

View File

@ -3675,16 +3675,17 @@ Potentially useful - https://www.draketo.de/software/emacs-javascript.html
#+BEGIN_SRC emacs-lisp
(use-package nov
:mode ("\\.epub\\'" . nov-mode)
:hook (nov-mode . visual-line-mode)
:bind
(:map nov-mode-map
;; make (Boon) c and r work even when point is in a link
("c" . nil)
("r" . nil)
("y" . nov-copy-url)
("C" . nov-previous-document)
("R" . nov-next-document)
("H" . nov-history-back)
("S" . nov-history-forward)
("c" . nov-previous-document)
("r" . nov-next-document)
("h" . nov-history-back)
("s" . nov-history-forward)
("T" . nov-goto-toc)
("m" . my-dispatch-hydra)))