Cursor at center of window
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.help Profile…
 Up
Cursor at center of window         


Author: Mauricio
Date: Sep 12, 2008 11:20

Hi,

Is it possible to ask emacs to
keep the cursor at the center
of the window? For instance, when
I press C-n, the text would go
one line up, instead of the cursor
going one line down.

Thanks,
Maurício
2 Comments
Re: Cursor at center of window         


Author: Pascal J. Bourguignon
Date: Sep 12, 2008 14:26

Mauricio yahoo.com> writes:
> Hi,
>
> Is it possible to ask emacs to
> keep the cursor at the center
> of the window? For instance, when
> I press C-n, the text would go
> one line up, instead of the cursor
> going one line down.

C-l

So you can type: C-n C-l
or if you want, you can rebind C-n to a command doing both.

--
__Pascal Bourguignon__ http://www.informatimago.com/
Wanna go outside.
Oh, no! Help! I got outside!
Let me back inside!
no comments
Re: Cursor at center of window         


Author: Mauricio
Date: Sep 12, 2008 14:54

>> Hi,
>>
>> Is it possible to ask emacs to
>> keep the cursor at the center
>> of the window? For instance, when
>> I press C-n, the text would go
>> one line up, instead of the cursor
>> going one line down.
>
> C-l
>
> So you can type: C-n C-l
> or if you want, you can rebind C-n to a command doing both.
>

But then I would have to rebind
all moving commands. Is there some
way to "repel" the cursor from the
borders? Or maybe some after moving
hook where I could call C-l?
Show full article (0.51Kb)
no comments

RELATED THREADS
SubjectArticles qty Group
Windows XP and Windows Vista ExpertZone chat tomorrow, June 5th 10am PSTmicrosoft.public.windows.vista.mail ·
ANN: Windows Vista SP1 IS On Microsoft Windows Vista Connect, Just FYI.microsoft.public.windows.vista.general ·