Editor nano Config Color

From wiki.linuxonlinehelp.eu
Jump to navigation Jump to search

If you edit with nano HTML Files the Code is show DARKBLUE that's bad readable on Terminal (green on black) to change edit:

nano /usr/share/nano/html.nanorc

change blue to yellow

## Here is a short example for HTML.
##
syntax "html" "\.html$"
color yellow start="<" end=">"
color red "&[^;[[:space:]]]*;"

save and exit, now HTML is shown yellow on black