Hacker News new | past | comments | ask | show | jobs | submit login

When I used Emacs, for some reason it scrolled more than one line at a time as I hit the end of the screen. This was literally the only reason I have never bothered with Emacs and stuck with vim.

Terrible I know, but that's my store. I guess Eshell is not for me...




Adding this to your init file would have changed the behavior to scroll only one line:

    (setq scroll-conservatively 30)


I also use:

  (defun go-up-one ()
    (interactive "*")
    (scroll-down 1))
  (defun go-down-one ()
    (interactive "*")
    (scroll-up 1))
  (global-set-key [S-up] 'go-up-one)
  (global-set-key [S-down] 'go-down-one)
so shift-up and shift-down scroll by one line no matter where the cursor is; and the cursor can often remain where it is, until you scroll too far. (Maybe it's outdated, since I did it a long time ago.)


Term mode only scrolls one line at end of screen.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: