summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Lassieur <clement@lassieur.org>2019-07-05 11:37:35 +0200
committerClément Lassieur <clement@lassieur.org>2019-07-05 11:39:41 +0200
commit9ff11f67b35966cc0b6962a5ead125e2e03df01e (patch)
tree3befcabf42fa5e97ea705b695d828f8269c17fdb
parent34c7b6dbb26f6de24b262596146955e88102ea6f (diff)
downloademacs-9ff11f67b35966cc0b6962a5ead125e2e03df01e.tar.gz
evil: don't auto-copy selection to clipboard
-rw-r--r--stow/home/.emacs.d/conf/my-init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/stow/home/.emacs.d/conf/my-init.el b/stow/home/.emacs.d/conf/my-init.el
index e872b9a..f518b7d 100644
--- a/stow/home/.emacs.d/conf/my-init.el
+++ b/stow/home/.emacs.d/conf/my-init.el
@@ -213,7 +213,8 @@
(require 'my-evil)
;; https://github.com/syl20bnr/spacemacs/issues/10786#issuecomment-393951409
(define-key evil-normal-state-map (kbd "C-a") 'evil-numbers/inc-at-pt)
- (define-key evil-normal-state-map (kbd "C-S-a") 'evil-numbers/dec-at-pt))
+ (define-key evil-normal-state-map (kbd "C-S-a") 'evil-numbers/dec-at-pt)
+ (fset 'evil-visual-update-x-selection 'ignore))
;; because in evil-keybindings.el, there is:
;; (eval-after-load 'ag