Wednesday, November 17, 2010

Use Vim As A Syntax Highlighting Pager | Ubuntu Tutorials

If you would like to set up your pager to highlight text in pretty colours then you can set up vim to do the job.

Just add the following line to .bashrc:
alias vless='vim -u /usr/share/vim/vimcurrent/macros/less.vim
From Ubuntu tutorials