https://github.com/naereen/nanorc
:wrench: :art: Some syntax highlighting files for the GNU/Nano editor :pencil: https://nano-editor.org/
https://github.com/naereen/nanorc
configuration-files gnu-nano nano-editor syntax-highlighting
Last synced: 4 days ago
JSON representation
:wrench: :art: Some syntax highlighting files for the GNU/Nano editor :pencil: https://nano-editor.org/
- Host: GitHub
- URL: https://github.com/naereen/nanorc
- Owner: Naereen
- License: mit
- Created: 2017-07-02T19:49:48.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-05-07T05:42:03.000Z (12 months ago)
- Last Synced: 2025-03-30T11:41:46.248Z (about 1 month ago)
- Topics: configuration-files, gnu-nano, nano-editor, syntax-highlighting
- Homepage: https://naereen.github.io/nanorc/
- Size: 79.1 KB
- Stars: 33
- Watchers: 6
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.nanorc
- License: LICENSE
Awesome Lists containing this project
README
# Syntax highlighting files for the [GNU/Nano editor](https://nano-editor.org/)
This repository contains some manually written syntax highlighting files for the [GNU/Nano editor](https://nano-editor.org/).
Some files also come from the default Nano installation.
## Install with git :wrench:
Be sure you don't have a directory `~/.nano` and no file `~/.nanorc`.Then, clone the repository and symlink the config file:
```bash
git clone https://github.com/Naereen/nanorc.git ~/.nano/
ln -s ~/.nano/.nanorc ~/.nanorc
```You can try to check if the installation went well by opening the `~/.nanorc` file.
```bash
nano ~/.nanorc # should be nicely colored!
```> **Warning**: clearly, this will only work on GNU/Linux. And I only tested it on Ubuntu...
## Install manually
You can download and install any of the `LANGUAGEXXX.nanorc` files, where you wish, and be sure that your `~/.nanorc` file include the files you want, with this syntax:```python
# Coloration for nanorc, from https://github.com/Naereen/nanorc
include "~/.nano/nanorc.nanorc"
```----
## :scroll: License ? [](https://github.com/Naereen/nanorc/blob/master/LICENSE)
[MIT Licensed](https://lbesson.mit-license.org/) (file [LICENSE](LICENSE)).
© [Lilian Besson](https://GitHub.com/Naereen), 2017.## Remark
I am no longer an intense user of GNU/Nano so most of the files date from 2012, 2013 and 2014.
But I still use it, and I test all of them on each new release of the editor, they still work well as fuck.
Enjoy](https://GitHub.com/Naereen/nanorc/graphs/commit-activity)
[](https://GitHub.com/Naereen/ama)
[](https://GitHub.com/Naereen/nanorc/)
[](https://github.com/defunctzombie/badginator)
[](https://github.com/Naereen/badges)[](https://GitHub.com/Naereen/)
[](http://ForTheBadge.com)