diff options
author | Aaron LI <aaronly.me@gmail.com> | 2016-05-08 19:48:14 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@gmail.com> | 2016-05-08 19:48:14 +0800 |
commit | 13264ef4a28a6b205427188e30147ef2c6c376c2 (patch) | |
tree | 71f2d69ba10fcf15995a81cd5dedf5ec69741911 | |
parent | b924b536987b3b36c94a50f887d3ba63e124a325 (diff) | |
download | dotfiles-13264ef4a28a6b205427188e30147ef2c6c376c2.tar.bz2 |
_spaces: prevent emacs from polluting system clipboard
-rw-r--r-- | _spacemacs | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -3,7 +3,7 @@ ;; ;; Aaron LI ;; Created: 2016-04-30 -;; Updated: 2016-05-04 +;; Updated: 2016-05-08 ;; @@ -294,6 +294,12 @@ layers configuration. You are free to put any user code." (global-vi-tilde-fringe-mode) ;; Put a newline at the end of file if there isn't already one there (setq-default require-final-newline t) + ;; Prevent the visual selection overriding the system clipboard + (fset 'evil-visual-update-x-selection 'ignore) + ;; Prevent transferring data to clipboard manager when exiting + (setq x-select-enable-clipboard-manager nil) + ;; Aggressively prevent `kill' and `yank' from accessing the clipboard + (setq x-select-enable-clipboard nil) ) ;; Do not write anything past this comment. This is where Emacs will |