;; Pull from PRIMARY (same as middle mouse click) (defun get-primary () (interactive) (insert (gui-get-primary-selection))) (global-set-key "\C-c\C-y" 'get-primary)