Home » Questions » Computers [ Ask a new question ]

Mouse wheel scrolling in less and vim using urxvt

Mouse wheel scrolling in less and vim using urxvt

I have started working with rxvt-unicode (aka urxvt) but found an issue with mouse-wheel scrolling, as compared to gnome-terminal and konsole. The mouse wheel works fine for going through the scrollback buffer, but it doesn't work for automatic scrolling in less/most or vim (though in vim, setting mouse=a makes it work, but in a very different way, which I don't have to do with gnome-terminal/konsole).

Asked by: Guest | Views: 395
Total answers/comments: 1
Guest [Entry]

"Nice question!
Some useful post I'll cite Linux Question - ""less"" command output-I cannot scroll through it! and Archlinux Forum - Use Mouse Wheel in man/less.

Seems like less are just listening to keyboard events and does not have support for mouse.
The enchantment request for mouse support is open Ref # 272.

The real solution is to use another terminal or pager(Vimpager)."