The vim editor has lot features be explored, it takes mouse scroll events and allows the content to be scrolled. This post will be incomplete as I discuss only scrolling in xterm, but will update periodicalling on other terminals also.
For xterm, to add mouse scroll support to vim use the following command.
set mouse=a
For putty terminal, from windows use
set ttymouse=xterm2
To type the above command in vim type shift+; then the command
Add the command to ~/.vimrc to add scrolling by default
