help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make ctrl+v (page-down) move even when near the end of document


From: Jim Diamond
Subject: Re: make ctrl+v (page-down) move even when near the end of document
Date: Wed, 2 Apr 2008 22:42:31 -0300
User-agent: slrn/0.9.8.1 (Linux)

On 2008-03-28, Pavol Murin <palomurin@gmail.com> wrote:
> hello fellow emacs users,
>  I would like to make ctrl+v like page-down (and page-up) do in other
> applications when near the beginning or end of the document. This
> means that when the point cannot move by a full page, it moves to the
> first or last position in the document. I can program it in elisp, but
> there might be a simpler solution (maybe a different function to
> bind)?
>

Have you considered

(require 'scroll-in-place)
(global-set-key "\^V"   'scroll-up-in-place)
(global-set-key "\M-v"  'scroll-down-in-place)

Maybe not exactly what you are looking for, but possibly worth a look.

                                Jim


reply via email to

[Prev in Thread] Current Thread [Next in Thread]