emacs - Disable screen jump when the cursor moves out of the screen -


i new emacs , using evil mode.

when scroll j,k , move out of screen, emacs readjust current line under cursor middle of screen.

where can disable feature?

by adding following setting .emacs file (or similar user customization file -- e.g., init.el), user can override default setting recenters point moves off screen:

(setq scroll-conservatively 101) 

the doc-string scroll-conservatively, visible typing m-x describe-variable ret scroll-conservatively ret reads follows (at least in far developer snapshot of emacs trunk goes, is):

"if value greater 100, redisplay never recenter point, scroll enough text bring point view, if move far away. value of 0 means recenter point if moves off screen."


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -