aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-02-26 11:45:05 +0800
committerGuangxiong Lin <[email protected]>2022-02-26 11:45:05 +0800
commitd3ce67c0021661ea2ff9a7d80527056d752ed8ed (patch)
tree86570b0636462dc78e0f72e25188b060d402627e /.emacs.d/lisp
parentbc3ea72a0f88c74e4404a27c8f154be7abafcf60 (diff)
downloaddotfiles-d3ce67c0021661ea2ff9a7d80527056d752ed8ed.tar.gz
dotfiles-d3ce67c0021661ea2ff9a7d80527056d752ed8ed.tar.bz2
dotfiles-d3ce67c0021661ea2ff9a7d80527056d752ed8ed.zip
Disable clipboard (emacs)
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/init-misc.el3
1 files changed, 3 insertions, 0 deletions
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