mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat(emacs): wayland nox and markdown mode
This commit is contained in:
parent
4f20405cfb
commit
b66b442dba
5 changed files with 46 additions and 20 deletions
11
tools/emacs.d/lisp/init-wayland.el
Normal file
11
tools/emacs.d/lisp/init-wayland.el
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
(when (getenv "WAYLAND_DISPLAY")
|
||||
;; Fix: Emacs nox does not have clipboard integration under wayland
|
||||
(use-package xclip
|
||||
:config
|
||||
(setq xclip-program "wl-copy")
|
||||
(setq xclip-select-enable-clipboard t)
|
||||
(setq xclip-mode t)
|
||||
(setq xclip-method (quote wl-copy))))
|
||||
|
||||
(provide 'init-wayland)
|
||||
Loading…
Add table
Add a link
Reference in a new issue