Syntax highlighting in less

- 1 min read

Yes, it’s certainly possible and source code becomes so much easier to read. Try it out by:

  1. downloading my .lessfilter
  2. save it as ~/.lessfilter in your $HOME
  3. Profit!

Ahem …

Just try it out on a C source file :-)

less -R myfile.c