diff options
author | Yuchen Pei <id@ypei.org> | 2023-06-26 15:17:20 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2023-06-26 15:17:20 +1000 |
commit | ea1e815c3dc1781aa5cb6d401e233c73fa8a108b (patch) | |
tree | 189aa1cc44277f5c298eed5230c4ae2784fafeec /emacs/.emacs.d/init/ycp-pdf.el | |
parent | f77444c030038100908e298666f8f84f85e768cb (diff) |
Adapted more configs from other emacs configs
Including wasamasa and jwiegley
Diffstat (limited to 'emacs/.emacs.d/init/ycp-pdf.el')
-rw-r--r-- | emacs/.emacs.d/init/ycp-pdf.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/emacs/.emacs.d/init/ycp-pdf.el b/emacs/.emacs.d/init/ycp-pdf.el index d90a527..4be7a68 100644 --- a/emacs/.emacs.d/init/ycp-pdf.el +++ b/emacs/.emacs.d/init/ycp-pdf.el @@ -31,7 +31,9 @@ (my-package pdf-tools (:install t) (:delay 15) - (pdf-loader-install)) + (pdf-loader-install) + (my-keybind pdf-view-mode-map + "M-w" #'pdf-view-kill-ring-save)) (my-package pdf-history (:delay 15) @@ -52,7 +54,8 @@ "P" #'my-pdf-view-backward-node-same-depth "U" #'my-pdf-view-backward-node-lower-depth "." #'my-pdf-view-enlarge-a-bit - "," #'my-pdf-view-shrink-a-bit) + "," #'my-pdf-view-shrink-a-bit + ) ) (provide 'ycp-pdf) |