You can easily activate a pretty nice syntax highlighting in the small nano text editor, by putting these lines into your ~/.nanorc:
include "/usr/share/nano/c.nanorc"
include "/usr/share/nano/patch.nanorc"
include "/usr/share/nano/sh.nanorc"
See what else is available with ls /usr/share/nano/
Found here.
No comments:
Post a Comment
I appreciate comments. Feel free to write anything you wish. Selected comments and questions will be published.