Last active
August 29, 2015 14:13
-
-
Save thinrhino/63ed5e1b03cee1caac40 to your computer and use it in GitHub Desktop.
Enable mouse in emacs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Enable mouse support | |
(unless window-system | |
(require 'mouse) | |
(xterm-mouse-mode t) | |
(global-set-key [mouse-4] '(lambda () | |
(interactive) | |
(scroll-down 1))) | |
(global-set-key [mouse-5] '(lambda () | |
(interactive) | |
(scroll-up 1))) | |
(defun track-mouse (e)) | |
(setq mouse-sel-mode t) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment