1
I am on the verge of doing alias less='vim -R'
for the convenience of being able to scroll with my multitouchpad.
However, I like that less -f
can view even files like /dev/random
that are not regular files.
How do I hack vim -R
so it can read-only non-regular files too?
What terminal do you use? I can use the scrollwheel in
less
(Ubuntu 10.10 / Gnome Terminal). – romainl – 2012-01-08T12:53:13.800iTerm 2 on Lion – AlcubierreDrive – 2012-01-10T10:14:18.980
On the Mac, I have a SIMBL plugin called MouseTerm that allows to use the scrollwheel in
less
orvim
in Terminal.app. iTerm2 is supposed to support the mouse but I see no mention of the scrollwheel. It looks like an iTerm2 limitation. – romainl – 2012-01-10T10:37:16.277