a spiffy collection of nano syntax highlighting files
Latest commit f0943e9 Feb 10, 2017 @serialhex committed on GitHub Merge pull request #33 from Piterden/patch-3
Updated reserved words. Fixed template variable bug.
Permalink
Failed to load latest commit information.
Dockerfile.nanorc Create Dockerfile.nanorc Nov 12, 2016
LICENSE Create LICENSE Aug 19, 2016
README.md Update README.md Aug 19, 2016
apache2.nanorc Improve functionality: Nov 14, 2013
apacheconf.nanorc De-goof and partially normalize: Nov 14, 2013
aptsrclist.nanorc De-goof and partially normalize: Nov 14, 2013
asm.nanorc fixing merge conflict Oct 23, 2016
bash.nanorc Improve functionality: Nov 14, 2013
c-file.nanorc adding a few files to the mix Oct 23, 2016
c.nanorc De-goof and partially normalize: Nov 14, 2013
changelog.nanorc De-goof and partially normalize: Nov 14, 2013
changelogs.nanorc De-goof and partially normalize: Nov 14, 2013
clike.nanorc adding a few files to the mix Oct 23, 2016
coffee.nanorc De-goof and partially normalize: Nov 14, 2013
conf.nanorc Update conf.nanorc Aug 8, 2016
config.nanorc De-goof and partially normalize: Nov 14, 2013
config2.nanorc Excluded .env files Jan 11, 2017
config3.nanorc De-goof and partially normalize: Nov 14, 2013
configfiles.nanorc De-goof and partially normalize: Nov 14, 2013
conky.nanorc De-goof and partially normalize: Nov 14, 2013
css.nanorc De-goof and partially normalize: Nov 14, 2013
cython.nanorc De-goof and partially normalize: Nov 14, 2013
default.nanorc initil commit, mostly not my stuff, read the README for attribution Jun 5, 2011
delphi.nanorc Improve functionality: Nov 14, 2013
desc.nanorc Improve functionality: Nov 14, 2013
dotemacs.nanorc Improve functionality: Nov 14, 2013
dotenv.nanorc Added supports of DotEnv files Jan 11, 2017
dummy.nanorc Improve functionality: Nov 14, 2013
ebuild.nanorc adding a few files to the mix Oct 23, 2016
editorconfig.nanorc Create editorconfig.nanorc Jan 17, 2017
ekghistory.nanorc Fixed broken regexs' Apr 23, 2013
emailquote.nanorc Improve functionality: Nov 14, 2013
etc-stuff.nanorc Improve functionality: Nov 14, 2013
etcportage.nanorc adding a few files to the mix Oct 23, 2016
etcxml.nanorc Improve functionality: Nov 14, 2013
fortran.nanorc Improve functionality: Nov 14, 2013
gentoo.nanorc Improve functionality: Nov 14, 2013
groff.nanorc Improve functionality: Nov 14, 2013
haskell.nanorc Improve functionality: Nov 14, 2013
havp.nanorc Improve functionality: Nov 14, 2013
html.nanorc Improve functionality: Nov 14, 2013
httpstatuscodes.nanorc adding a few files to the mix Oct 23, 2016
info.nanorc Improve functionality: Nov 14, 2013
ini.nanorc ini: put or-parts in parantes, so the end-matcher is used on all part… Nov 30, 2016
initng.nanorc Improve functionality: Nov 14, 2013
initscript.nanorc Improve functionality: Nov 14, 2013
java.nanorc Improve functionality: Nov 14, 2013
js.nanorc Updated reserved words. Fixed template variable bug. Feb 10, 2017
lex.nanorc Improve functionality: Nov 14, 2013
lisp.nanorc copying lisp & scheme themes, maybe dupes, but i cant do much about i… Nov 13, 2014
log-stuff.nanorc Improve functionality: Nov 14, 2013
lua.nanorc Improve functionality: Nov 14, 2013
maincf.nanorc Improve functionality: Nov 14, 2013
makefile.nanorc Improve functionality: Nov 14, 2013
man.nanorc Improve functionality: Nov 14, 2013
markdown.nanorc markdown.nanorc: don't mark .t(e)xt files, as they aren't necessarily… Jan 2, 2015
mimetype.nanorc Improve functionality: Nov 14, 2013
mutt.nanorc adding a few files to the mix Oct 23, 2016
named.nanorc Improve functionality: Nov 14, 2013
nanorc.nanorc Improve functionality: Nov 14, 2013
nscd.nanorc initil commit, mostly not my stuff, read the README for attribution Jun 5, 2011
others.nanorc Fixed broken regexs' Apr 23, 2013
paludis.nanorc Improve functionality: Nov 14, 2013
passwd.nanorc Improve functionality: Nov 14, 2013
patch.nanorc Improve functionality: Nov 14, 2013
perl.nanorc Update perl.nanorc Oct 30, 2014
php.nanorc Improve functionality: Nov 14, 2013
php2.nanorc adding a few files to the mix Oct 23, 2016
plaudis.nanorc adding a few files to the mix Oct 23, 2016
po.nanorc Improve functionality: Nov 14, 2013
postgresql.nanorc Fixed broken regexs' Apr 23, 2013
pov.nanorc Improve functionality: Nov 14, 2013
privoxy.nanorc Improve functionality: Nov 14, 2013
python.nanorc Update python.nanorc Apr 9, 2015
rcfiles-new.nanorc Fixed broken regexs' Apr 23, 2013
reST.nanorc Improve functionality: Nov 14, 2013
rsync.nanorc initil commit, mostly not my stuff, read the README for attribution Jun 5, 2011
ruby.nanorc Improve functionality: Nov 14, 2013
scheme.nanorc copying lisp & scheme themes, maybe dupes, but i cant do much about i… Nov 13, 2014
sh.nanorc added sh.nanorc for some nano installs without one May 29, 2014
shlike.nanorc adding a few files to the mix Oct 23, 2016
softcam.nanorc initil commit, mostly not my stuff, read the README for attribution Jun 5, 2011
sourceslist.nanorc Possible fix to Issue#28 Dec 6, 2016
tab.nanorc Improve functionality: Nov 14, 2013
tcl.nanorc Improve functionality: Nov 14, 2013
tex.nanorc Improve functionality: Nov 14, 2013
todo.nanorc fix for issue #22 Aug 1, 2016
txt2tags.nanorc Improve functionality: Nov 14, 2013
urls.nanorc Improve functionality: Nov 14, 2013
xdefaults.nanorc Improve functionality: Nov 14, 2013
xml.nanorc Improve functionality: Nov 14, 2013
xorg.nanorc Improve functionality: Nov 14, 2013
yacc.nanorc Improve functionality: Nov 14, 2013

README.md

nano-highlight

a spiffy collection of nano syntax highlighting files

most (ok, prettymuch all) of these have been stol*COUGH* politely included in this repository. proper attribution follows at the end of it all... Unless otherwise specified, all files are under the unlicense

WTF do i need these stupid things for???

well, if EMACS or vi are too much of a PITA for you to learn, and all the other text editors you've used are likewise annoying for some reason (yes i'm looking at you Kate & Gedit) then nano is probably your best option! (or if you just like the simplicity of using an extremely lightweight console editor, which is one of the biggest reasons why I use it)

so HTF do i use these things???

one of the easiest ways is like this: git clone git://github.com/serialhex/nano-highlight.git ~/.nano then simply add the different *.nanorc files that you want to use to your ~/.nanorc file. for example, this is mine:

## my awesome ~/.nanorc file!!!                                            

## spifftastic nano highlighting nano!!
include "~/.nano/nanorc.nanorc"

## Ruby
include "~/.nano/ruby.nanorc"

## C/C++
include "~/.nano/c.nanorc"

## Python
include "~/.nano/python.nanorc"

## Bourne shell scripts
include "~/.nano/bash.nanorc"

## CSS
include "~/.nano/css.nanorc"

## HTML
include "~/.nano/html.nanorc"

## Markdown
include "~/.nano/markdown.nanorc"`

there are other spiffy things you can do in your .nanorc file, see nanorc manpage online or your very own nanorc manpage for more details.

OOH!!! that's spiffy!! thanks for all your hard work in making all these files!!

umm, yeah, about that, i didnt make all of them, here is the list of who did what with whom:

files from nanosyntax (New BSD license)###

apache2.nanorc conf.nanorc gentoo.nanorc man.nanorc plaudis.nanorc sources_list.nanorc apacheconf.nanorc conky.nanorc groff.nanorc mcchangelog.nanorc po.nanorc tab.nanorc aptsrclist.nanorc css.nanorc havp.nanorc mimetype.nanorc postgresql.nanorc tcl.nanorc asm.nanorc debian.nanorc html.nanorc mutt.nanorc pov.nanorc tex.nanorc bash.nanorc default.nanorc httpstatuscodes.nanorc named.nanorc privoxy.nanorc urls.nanorc c-file.nanorc delphi.nanorc info.nanorc nanorc.nanorc profile.nanorc vhost.nanorc changelog.nanorc desc.nanorc ini.nanorc nscd.nanorc python.nanorc xdefaults.nanorc changelogs.nanorc dotemacs.nanorc initng.nanorc others.nanorc rcfiles.nanorc xml.nanorc clike.nanorc dummy.nanorc initscript.nanorc paludis.nanorc rcfiles-new.nanorc xorg.nanorc c.nanorc ebuild.nanorc java.nanorc passwd.nanorc rsync.nanorc config2.nanorc ekghistory.nanorc js.nanorc patch.nanorc ruby.nanorc config3.nanorc etcportage.nanorc log-stuff.nanorc perl.nanorc shlike.nanorc configfiles.nanorc etc-stuff.nanorc maincf.nanorc php2.nanorc sh.nanorc config.nanorc etcxml.nanorc makefile.nanorc php.nanorc softcam.nanorc

files from scopatz / nanorc ('do whatever you want' licence)

his repo has since changed, see LICENSE for the new license these fall under

apacheconf.nanorc css.nanorc groff.nanorc man.nanorc patch.nanorc python.nanorc sh.nanorc asm.nanorc cython.nanorc html.nanorc markdown.nanorc perl.nanorc tex.nanorc c.nanorc
fortran.nanorc java.nanorc mutt.nanorc php.nanorc reST.nanorc xml.nanorc conf.nanorc
gentoo.nanorc lua.nanorc nanorc.nanorc pov.nanorc ruby.nanorc

files found 'round the net (see the file for more info)

markdown.nanorc txt2tags.nanorc

files from aaronhamilton / coffeescript-nano

coffee.nanorc

this is the end

that's it, have fun & dont hurt yourself!!