I am used to editing in nano, and with terminal.app it's easy to quickly move up and down the file using the scroll gesture. I am trying out iTerm2, but now the scroll gesture just makes iTerm scroll upward in history, the nano work area scrolling off the bottom. in Terminal, scrolling in nano simulates moving the cursor up and down, and results in a nice ability to move through the file. How can I get iTerm2 to do this also?
Asked
Active
Viewed 1.1k times
1 Answers
75
It's a configurable preference (like xterm's alternateScroll resource). In iTerm2, that's in the Advanced tab:

Thomas Dickey
- 51,086
- 7
- 70
- 105
-
8Exactly what I was looking for! Thanks. – libbynotzoey Apr 28 '18 at 16:26
-
Works also to scroll inside a screen after pressing CTRL+A ESC – guillaumefrd Apr 28 '21 at 08:02
-
I had this set up on my previous MacBook and couldn't for the life of me figure out how to do it on my new one... Thank you sir! – shaneparsons Dec 07 '21 at 13:42
-
Thank you so much, you saved some poor soul today (me) – NiKo Apr 11 '23 at 15:04
-
Turns out I already have this set, but it isn't working – ShadSterling Jun 24 '23 at 17:07
-
1Oh, I was in a remote screen session, so I think I ran in to https://superuser.com/a/990887/175529 – ShadSterling Jun 24 '23 at 17:20