views:

147

answers:

3

I'd like to fix the cursor to the centre line of the screen, so that when I press Ctrl-N or Ctrl-P, the page itself moves up or down, and the cursor stays still.

Has anyone got any tips on how to achieve this?

Thanks

Ed

+4  A: 

M-x scroll-lock-mode, which could be used to put the Scroll Lock key to good use too:

(global-set-key (kbd "<Scroll_Lock>") 'scroll-lock-mode)
Laurynas Biveinis
Please replace that typographical quotes with the valid ones.
Török Gábor
OK, sorry about them.
Laurynas Biveinis
+3  A: 

The EmacsWiki page on SmoothScrolling presents some possible solutions.

bendin
+5  A: 

Try centered-cursor mode:

http://www.emacswiki.org/emacs/centered-cursor-mode.el

scottfrazer
Thank you. That's absolutely perfect. He seems to have really got it working nicely there.
Singletoned