summaryrefslogtreecommitdiff
path: root/.emacs
diff options
context:
space:
mode:
Diffstat (limited to '.emacs')
-rw-r--r--.emacs5
1 files changed, 5 insertions, 0 deletions
diff --git a/.emacs b/.emacs
index 63df819..2fbce2f 100644
--- a/.emacs
+++ b/.emacs
@@ -8,6 +8,11 @@
(load "evil-settings")
(evil-mode 1)
+;; clipboard options
+(setq mouse-drag-copy-region nil) ; stops selection with a mouse being immediately injected to the kill ring
+(setq x-select-enable-primary nil) ; stops killing/yanking interacting with primary X11 selection
+(setq x-select-enable-clipboard t) ; makes killing/yanking interact with clipboard X11 selection
+
;; wrap long lines
(setq truncate-partial-width-windows nil)