diff options
| author | Thomas Schneider <qsx@qsx.re> | 2018-04-28 19:19:04 +0200 |
|---|---|---|
| committer | Thomas Schneider <qsx@qsx.re> | 2018-04-28 19:19:04 +0200 |
| commit | baf6848e3c4f3ea517879a42bbaa4648b4e23316 (patch) | |
| tree | 8fcf76b1319d2985278e7fe4e4535e1f12b200b0 /dot.emacs.d/init.el | |
| parent | 7bc2cff9b9bd62886d4643f01e7996044c793795 (diff) | |
Emacs: add gui-get-primary-selection key binding
Diffstat (limited to 'dot.emacs.d/init.el')
| -rw-r--r-- | dot.emacs.d/init.el | 3 |
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))))) |
