Is it possible to get smooth scrolling (using the mouse scroll wheel or macbook touchpad) within a terminal on Mac OSX (Lion)? Furthermore, could I do this within vim?

I find that smooth scrolling aids the reading of code, I don't like it when you can only scroll in discrete lines as opposed to continuous pixel-by-pixel scrolling.

Thanks

link|improve this question

48% accept rate
feedback

1 Answer

I don't really agree with you but here is a Terminal.app plugin that does what you want and more.

You might need to add

set mouse=a

to your .vimrc. See :help mouse for more info.

link|improve this answer
Unfortunately the plugin requires SIMBL, which isn't available for Lion – Eddy Nov 14 '11 at 20:48
I didn't know because I don't have Lion. MouseTerm is the only way to add mouse scrolling to Terminal.app I've ever heard of. It appears that some people have reported limited success in using SIMBL on Lion, did you try? Also I see that iTerm2 provides "mouse reporting" and scrolling but it will probably scroll line by line. As a side note I hardly scroll (up/down/j/k) anymore: I find /, ?, fF, tT and <C-f>/<C-b> a lot more useful. – romainl Nov 14 '11 at 21:30
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.