browser icon
You are using an insecure version of your web browser. Please update your browser!
Using an outdated browser makes your computer unsafe. For a safer, faster, more enjoyable user experience, please update your browser today or try a newer browser.

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 »

Categories: Linux, programming | Tags: , , , | Leave a comment