| @@ -466,6 +466,25 @@ Ah Fonts. Let me specify them for gui emacs. | |||||
| #+END_SRC | #+END_SRC | ||||
| ** console setup | |||||
| Enable mouse mode for the console and use the mousewheel if possible. | |||||
| #+BEGIN_SRC emacs-lisp | |||||
| (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)) | |||||
| ) | |||||
| #+END_SRC | |||||
| * packages | * packages | ||||
| All the packages I use. | All the packages I use. | ||||