Fix wl-copy (again)
This commit is contained in:
parent
2cd476d2b1
commit
f9f7badd76
2
init.el
2
init.el
@ -633,6 +633,8 @@ in the region and indents once)."
|
|||||||
;; allow copy from terminal
|
;; allow copy from terminal
|
||||||
(use-package xclip
|
(use-package xclip
|
||||||
:config
|
:config
|
||||||
|
(setq xclip-method 'wl-copy
|
||||||
|
xclip-program (symbol-name xclip-method))
|
||||||
(xclip-mode 1)
|
(xclip-mode 1)
|
||||||
(defun my/-xclip-detect-wl-paste-error (oldfun type)
|
(defun my/-xclip-detect-wl-paste-error (oldfun type)
|
||||||
(if (eq xclip-method 'wl-copy)
|
(if (eq xclip-method 'wl-copy)
|
||||||
|
Loading…
Reference in New Issue
Block a user