Add :os tty module
- Moves clipetty to its own, opt-in module (#2671, #3195, #3498) - Fix cursor shape changing between evil states (#1994) - Moves `xterm-mouse-mode` and `visible-cursor` config out of core.
This commit is contained in:
parent
ef09695f57
commit
0a4841b247
7 changed files with 115 additions and 13 deletions
|
@ -161,15 +161,6 @@ possible."
|
|||
;; non-X systems (like Windows or macOS), where only `STRING' is used.
|
||||
(setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
|
||||
|
||||
;; Fixes the clipboard in tty Emacs by piping clipboard I/O through xclip, xsel,
|
||||
;; pb{copy,paste}, wl-copy, termux-clipboard-get, or getclip (cygwin); depending
|
||||
;; on what is available.
|
||||
(unless IS-WINDOWS
|
||||
(add-hook! 'tty-setup-hook
|
||||
(defun doom-init-clipboard-in-tty-emacs-h ()
|
||||
(and (require 'clipetty nil t)
|
||||
(global-clipetty-mode +1)))))
|
||||
|
||||
|
||||
;;
|
||||
;;; Extra file extensions to support
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue