Better Syntax Highlighting in nano

Dmitri Popov

Productivity Sauce

Mar 25, 2014 GMT
Dmitri Popov

If you find the syntax highlighting functionality in the nano text editor lacking, you will appreciate a collection of .nanorc files in the nanorc GitHub repository.

Here, you'll find a selection of definition files for a broad range of programming languages: from Python and HTML, to Lua and Markdown. To add all this goodness to nano, clone the GitHub repository using the git clone command, and then install the files by running the make install command. That's all there is to it.

comments powered by Disqus