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

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

Re: How to move the cursor to the bottom of the screen?


From: Sanjeev Kumar.S
Subject: Re: How to move the cursor to the bottom of the screen?
Date: Wed, 9 Jan 2008 20:34:02 -0800 (PST)

This is how i do it:

(define-key global-map [(control prior)] (lambda (&optional arg) (interactive) (move-to-window-line 0)))
you can extend it how-ever you want from here.

Sanjeev.


Ye ilho <iy2110@columbia.edu> wrote:
> Will show you a list of key bindings. In particular:
>
> M-< beginning-of-buffer
> M-> end-of-buffer
>
> M-< can be typed as:
>
> [ESCape key] [< key]
>
> On the mac you may be able to hold down command or option while typing
> < to get the same effect. Under windows the ALT key will do this.
>
> / ben
>

Thank you, Ben. Perhaps I did not state my question correctly or I did
not understand your answer because I am a novice in emacs. Please bear
with me once again to state what I want to do.

I am simply trying to go to the top/middle/bottom of the screen I see
at the moment.
I also tried your suggestion but that will take me to the
beginning/end of buffer but not necessarily what I see on the screen
at the moment.

For example, if I see the content of file in my emacs screen as
follows, I want to somehow to go to abc with one key stroke.

======================
abc
def
ghi
jkl
mno
======================

If I did not understand your answer correctly, please correct me.
Thank you once again.

Ilho <><

--
YES, JESUS LOVES YOU, TOO.
For God so loved the world that he gave his one and only Son, that
whoever believes in him shall not perish but have eternal life(John
3:16).


_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs


Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
reply via email to

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