termux-packages/x11-packages/emacs-x/site-init.el

5 lines
141 B
EmacsLisp

; Enable terminal mouse events:
(xterm-mouse-mode 1)
(global-set-key [mouse-4] 'scroll-down-line)
(global-set-key [mouse-5] 'scroll-up-line)