You are not logged in.
Hey, here is rc.conf file syntax highlighting for nano. It may be useful for those who edit their rc.conf regularly.
# syntax highlithing in rc.conf
syntax "rc.conf" "rc\.conf$"
color brightwhite ""(\\.|[^\"])*""
color brightwhite "\((\\.|[^\"])*\)"
color brightred "![^> ]+"
color brightcyan "@[^> ]+"
color brightyellow ".*="
color white "="
color brightblue ""|\(|\)"
color green "#.*"
Put this lines into /etc/nanorc or ~/.nanorc
Offline
Thank you, I like it!
Offline
thank you! i always accidentally open up nano, find out text is practically unreadable with its default colours, close it and then wait the horrific 4 seconds it takes for emacs to spring to life.
Offline
thanks
Offline