OSX – ITERM2 – Rolling less output with mouse

I just switched from OSX terminal to iTerm2, and I seem to have lost a feature.
In the terminal, I can use the mouse to scroll through the output of a few commands because I have MouseTerm installed.

But when I try to scroll less output in iTerm2, the scroll bar of the window moves.
The strange thing is that scrolling works as expected with vim.

How to use the mouse to scroll less output in iTerm2?

iTerm2 issue is now marked as “fixed” –
but the fix is ​​to add a hidden Option, so it is not immediately obvious
how to enable the new AlternateMouseScroll option.

As Filippo Valsorda (the author of the patch) writes,
Once you install the nightly version of iTerm2 (which still does not exist in 1.0.0.20140629)
Just run this command:< /p>

$ defaults write com.googlecode.iterm2 AlternateMouseScroll -bool true

Restart iTerm2, and all windows will be escaped with the up/down arrow keys To report scroll events
when the terminal is in “standby screen” (direct addressing) mode
used by less, vim, emacs and other programs.

For applications that provide additional mouse support, such as vim and emacs, you still want to enable the mouse report mode because this automatic mode switch can only enable scrolling.

I just switched from OSX terminal to iTerm2 and I seem to have lost a feature.
In the terminal, I can use the mouse to scroll through the output of a few commands because I have MouseTerm installed.

But when I try to scroll less output in iTerm2, the scroll bar of the window moves.
The strange thing is that scrolling works as expected with vim.

How to use the mouse to scroll less output in iTerm2?

iTerm2 issue is now marked as “fixed”-
but the fix is ​​to add a hidden option, so it is not immediately obvious
how Enable the new AlternateMouseScroll option.

As Filippo Valsorda (the author of the patch) writes,
Once you install the nightly version of iTerm2 (which still does not exist in 1.0.0.20140629)
Just run this command:< /p>

$ defaults write com.googlecode.iterm2 AlternateMouseScroll -bool true

Restart iTerm2, and all windows will be escaped with the up/down arrow keys To report scroll events
when the terminal is in “standby screen” (direct addressing) mode
used by less, vim, emacs and other programs.

For applications that provide additional mouse support, such as vim and emacs, you still want to enable the mouse report mode because this automatic mode switch can only enable scrolling.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 5187 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.