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?
Use the Alt-M key combination to toggle between using the terminal's mouse services and nano's built-in mouse services.
Holding fn + up or down arrow, scroll backward or forward through the terminal history. It scrolls by one whole page for whatever the size of the terminal window at the time.
It's a configurable preference (like xterm's alternateScroll resource). In iTerm2, that's in the Advanced tab:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With