From d3ce67c0021661ea2ff9a7d80527056d752ed8ed Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sat, 26 Feb 2022 11:45:05 +0800 Subject: Disable clipboard (emacs) --- .emacs.d/lisp/init-misc.el | 3 +++ 1 file changed, 3 insertions(+) (limited to '.emacs.d/lisp/init-misc.el') diff --git a/.emacs.d/lisp/init-misc.el b/.emacs.d/lisp/init-misc.el index 9abd46a..53e6b30 100644 --- a/.emacs.d/lisp/init-misc.el +++ b/.emacs.d/lisp/init-misc.el @@ -5,6 +5,9 @@ (global-display-line-numbers-mode)) (setq vc-follow-symlinks t) +;; Disable evil operation writes clipboard +(setq x-select-enable-clipboard nil) + (setq backup-by-copying t delete-old-versions t -- cgit v1.2.3