Enable xterm-mouse-mode in tty Emacs

This commit is contained in:
Henrik Lissner 2019-04-06 11:11:53 -04:00
parent 43bc14d38e
commit 182ab918b6
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -17,6 +17,9 @@
(if (require 'xclip nil t) (xclip-mode))))
(add-hook 'tty-setup-hook #'doom|init-clipboard-in-tty-emacs)
;; Enable mouse in terminal Emacs
(add-hook 'tty-setup-hook #'xterm-mouse-mode)
;; stop copying each visual state move to the clipboard:
;; https://bitbucket.org/lyro/evil/issue/336/osx-visual-state-copies-the-region-on
;; grokked from: http://stackoverflow.com/questions/15873346/elisp-rename-macro