Tagged With: code
‘less’ with code syntax highlighting!
If you’ve installed a reasonably up-to-date version of vi(m), there is a script called less.sh in your $VIMRUNTIME directory, which acts as an replacement of less providing syntax highlighting. To use this script, you just have to follow these simple steps: For the lazy like me: sudo ln -s `ls /usr/share/vim/vim*/macros/less.sh | tail -n 1` … Continue reading