git clone https://github.com/nanorc/nanorc.git
cd nanorc
make install
Pak do souboru ~/.nanorc přidat
- include ~/.nano/syntax/html.nanorc
- include ~/.nano/syntax/css.nanorc
- include ~/.nano/syntax/php.nanorc
- include ~/.nano/syntax/ALL.nanorc
viz AskUbuntu