Fork me on GitHub
#emacs
<
2023-02-25
>
Darrick Wiebe18:02:08

This seems like a basic question but I can't find the setting. How can I set emacs so that it will scroll the window before the cursor gets to the very top or bottom of the window? I'd like to always see at least one or two lines above and below my cursor.

ag18:02:12

Check scroll-margin var

👍 2
Darrick Wiebe18:02:06

Perfect, that's the one. Thanks.