Permalink
Browse files

add mouse support for terminals and fix incorrect conf filename

  • Loading branch information...
1 parent d75b318 commit 2f6ab50962afb46e7c677ae9094b2771b5f0140f @samaaron samaaron committed Apr 14, 2012
Showing with 11 additions and 0 deletions.
  1. +1 −0 live-config/live.el
  2. +10 −0 live-config/mouse-conf.el
  3. 0 live-config/{tramp-config.el → tramp-conf.el}
View
@@ -46,3 +46,4 @@
(load-live-config-file "refheap-conf.el")
(load-live-config-file "javascript-conf.el")
(load-live-config-file "tramp-conf.el")
+(load-live-config-file "mouse-conf.el")
@@ -0,0 +1,10 @@
+;; Mouse in terminal
+(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)))
File renamed without changes.

0 comments on commit 2f6ab50

Please sign in to comment.