When scrolling with the mouse, how do I make the cursor push the screen instead of the screen drag the cursor?
I switched to iTerm 2 on macOS, but in the regular macOS terminal when I scroll the scrolling moves the cursor not the window. In iTerm 2 it only scrolls the window. I can't find the setting to set this back again. I found set mouse=a
but this doesn't do the trick.
To clarify I do not want a scroll offset. I want the physical scroll action to move the cursor not the screen.
scrolloff
is what you're looking for: if youset scrolloff=10
you will always have 10 lines between your cursor and the bottom of the window when you scroll down, is that what you're talking about?