summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-06-08 17:54:42 +0100
committerjao <jao@gnu.org>2022-06-08 17:54:42 +0100
commitd09155bc5cbf05f99fce4239603166813c2cc0a0 (patch)
tree53d19ab593d2647fe1b0e4b639586402e96a6d4d
parent86094ccc4254a6203268ec09c9366595ac47bb55 (diff)
downloadelibs-d09155bc5cbf05f99fce4239603166813c2cc0a0.tar.gz
elibs-d09155bc5cbf05f99fce4239603166813c2cc0a0.tar.bz2
terminal improvements: xclip
-rw-r--r--init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/init.el b/init.el
index 1504d4a..6b754f5 100644
--- a/init.el
+++ b/init.el
@@ -521,6 +521,11 @@
select-enable-primary t
selection-timeout 100)
+(use-package xclip
+ :ensure t)
+
+(unless (display-graphic-p) (xclip-mode 1))
+
;;;; pop-up frames
(defun jao-open-in-x-frame (&optional width height)
(interactive)