I often see an article saying
.vimrc the following setting, but it did not work well in my environment.
This time, not the
.vimrc, but how to switch the operation from iTerm's setting (Preferences) is described.
- Environment information
- Turn scrolling on/off from Setting (Preferences)
- Conclusion - Turn on/off iTerm's Vim scroll setting (not use .vimrc)
Turn scrolling on/off from Setting (Preferences)
iTerm2 > Preferences > Advanced
Mouse > Scroll wheel sends arrow keys in alternate screen mode.
Easy access from the search window with scroll .
Scroll wheel sends arrow keys in alternate screen mode. setting changes the scrolling behavior as follows.
In my case, since there are many cases I want to paste from Vim in past console logs, I set the setting to No so that the iTerm window scrolls.