summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2023-02-17 11:50:59 +0100
committeralex <alex@pdp7.net>2023-02-17 11:50:59 +0100
commit73afab8921dab13e8a232be7e2ef7809e1ec9623 (patch)
treeaf0e42a509e7f9ad78391063ada77b1ae7c16af4 /emacs
parent902d0471d104dd5749cc6eb97d3d984d3f57c5b7 (diff)
Add xclip-mode
Diffstat (limited to 'emacs')
-rw-r--r--emacs/emacs.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/emacs.el b/emacs/emacs.el
index 1bf00018..f1ba7e80 100644
--- a/emacs/emacs.el
+++ b/emacs/emacs.el
@@ -105,3 +105,7 @@
(setq save-abbrevs nil)
(setq compilation-scroll-output t)
+
+;; and install xclip so cutting/copying in Emacs on a terminal affects the graphical clipboard
+(straight-use-package 'xclip)
+(xclip-mode 1)