Using vim as a syntax highlight pager

For read from pipe:

$ alias less="vim -u /usr/share/vim/vim*/macros/less.vim -"

For read from file:

$ alias fless="vim -u /usr/share/vim/vim*/macros/less.vim"
vim 
comments powered by Disqus