https://github.com/jonigl/nanocolors
Syntax highlight
https://github.com/jonigl/nanocolors
Last synced: 6 months ago
JSON representation
Syntax highlight
- Host: GitHub
- URL: https://github.com/jonigl/nanocolors
- Owner: jonigl
- License: mit
- Created: 2015-07-16T18:58:15.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-16T19:15:43.000Z (about 11 years ago)
- Last Synced: 2025-06-22T03:03:08.448Z (about 1 year ago)
- Size: 367 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nanoColors (Syntax highlight for nano)
**Here are some steps to help you out (for Mac users)**
1. Create a new directory in /usr/local/share/ called 'nano' like this:
```mkdir /usr/local/share/nano```
2. Now, using nano, make a nano resource file for your C syntax like this:
```nano /usr/local/share/nano/javascript.nanorc```
3. Now put your javascript.nanorc code highlighting in this file and save it.
4. Save that file and now open your user’s nano resource file by typing:
```nano ~/.nanorc```
5. In this file, add a reference to the c.nanorc file you just made like this:
```include "/usr/local/share/nano/c.nanorc"```
6. Save your user resource file.
7. You done!