Using less with syntax highlight
You can use vim as your pager and obtain two benefits: syntax highlight
and access to all the advanced commands (like search). You can do this
under ubuntu by adding the following line to your ~/.bashrc
:
alias less='/usr/share/vim/vimcurrent/macros/less.sh'
Note:
- You have to have ...