aboutsummaryrefslogtreecommitdiff
path: root/dot.emacs.d
diff options
context:
space:
mode:
authorThomas Schneider <qsx@qsx.re>2018-04-28 19:19:04 +0200
committerThomas Schneider <qsx@qsx.re>2018-04-28 19:19:04 +0200
commitbaf6848e3c4f3ea517879a42bbaa4648b4e23316 (patch)
tree8fcf76b1319d2985278e7fe4e4535e1f12b200b0 /dot.emacs.d
parent7bc2cff9b9bd62886d4643f01e7996044c793795 (diff)
Emacs: add gui-get-primary-selection key binding
Diffstat (limited to 'dot.emacs.d')
-rw-r--r--dot.emacs.d/init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el
index 61a1c55..3596517 100644
--- a/dot.emacs.d/init.el
+++ b/dot.emacs.d/init.el
@@ -77,3 +77,6 @@
(setq column-number-mode t)
(global-set-key (kbd "C-x C-k") 'kill-this-buffer)
+(global-set-key (kbd "C-M-y") '(lambda ()
+ (interactive)
+ (save-excursion (insert (gui-get-primary-selection)))))