fix(wpcarro/emacs): Restore ability to paste in visual mode
I filed an issue with evil in case there's a potential bug-fix or feature: https://github.com/emacs-evil/evil/issues/1537 Change-Id: Ia9293b59696ac693f9bffb4d3505ea8fa2d59784 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4810 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
This commit is contained in:
parent
ea21339e5f
commit
f1fbddb121
1 changed files with 3 additions and 2 deletions
|
@ -36,8 +36,9 @@
|
|||
(load custom-file 'noerror)
|
||||
|
||||
;; integrate Emacs with X11 clipboard
|
||||
(setq select-enable-primary t)
|
||||
(setq select-enable-clipboard t)
|
||||
(customize-set-variable 'select-enable-primary t)
|
||||
(customize-set-variable 'select-enable-clipboard t)
|
||||
(fset 'evil-visual-update-x-selection 'ignore)
|
||||
(general-def 'insert
|
||||
"s-v" #'clipboard-yank
|
||||
"C-S-v" #'clipboard-yank)
|
||||
|
|
Loading…
Reference in a new issue