LoginSignup
2
1

More than 5 years have passed since last update.

emacsでスクロールで上下移動できるようにする

Last updated at Posted at 2018-07-12

目標

上下スクロールでページアップ、ダウンを行う!

.emacs

以下を追加でオッケー

.emacs
(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)
)
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1