https://github.com/tomkyle/nanorc-conf
Nano “Catch-all” syntax for configuration files by sas on ArchLinux
https://github.com/tomkyle/nanorc-conf
Last synced: 5 months ago
JSON representation
Nano “Catch-all” syntax for configuration files by sas on ArchLinux
- Host: GitHub
- URL: https://github.com/tomkyle/nanorc-conf
- Owner: tomkyle
- Created: 2019-02-14T11:04:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-14T11:04:51.000Z (over 7 years ago)
- Last Synced: 2025-07-23T15:57:12.732Z (12 months ago)
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# conf · Nano Syntax Highlighting File
**Catch-all syntax for configuration files**
This syntax highlighting has been originally provided by *sas* on ArchLinux [here](https://bbs.archlinux.org/viewtopic.php?pid=1041217#p1041217) and [updated on 2012-01-28]( https://bbs.archlinux.org/viewtopic.php?pid=1048914#p1048914).
## Supported extensions and dotfiles:
**dot** `conf|config|cfg|cnf|rc|lst|list|defs|ini|desktop|mime|types|preset|cache|seat|service|htaccess`
**specials**
`\w*crontab|mirrorlist|group|hosts|passwd|rpc|netconfig|shadow|fstab|inittab|inputrc|protocols|sudoers`
…and also `conf.d/|.config`
## Installation
First, clone the repo. Copy the **conf.nanorc** into your `~/.nano/` directory.
```
$ git clone https://github.com/tomkyle/nanorc-conf.git
$ cp nanorc-brewfile/conf.nanorc ~/.nano/
```
Second, add the file to your **~/.nanorc** configuration file
```
## conf files
include "~/.nano/conf.nanorc"
```
## Example: crontab
