aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init/ycp-pdf.el
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-06-26 15:17:20 +1000
committerYuchen Pei <id@ypei.org>2023-06-26 15:17:20 +1000
commitea1e815c3dc1781aa5cb6d401e233c73fa8a108b (patch)
tree189aa1cc44277f5c298eed5230c4ae2784fafeec /emacs/.emacs.d/init/ycp-pdf.el
parentf77444c030038100908e298666f8f84f85e768cb (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.el7
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)