[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Scrolling screen one line
From: |
Ekkehard Goerlach |
Subject: |
Re: Scrolling screen one line |
Date: |
03 Jan 2003 23:08:49 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
I have
(global-set-key [M-up]
(lambda() (interactive) (scroll-down 1) (previous-line 1)))
(global-set-key [M-down]
(lambda() (interactive) (scroll-up 1) (next-line 1)))
(global-set-key [S-up]
(lambda() (interactive) (scroll-up 1)))
(global-set-key [S-down]
(lambda() (interactive) (scroll-down 1)))
The M- commands leave the cursor where it is and only scroll the text
of the buffer, the S- commands scroll text and cursor.
Ekkehard
--
Ekkehard Görlach Tumringerstrasse 287
e.goerlach@computer.org D-79539 Lörrach