• Stars
    star
    461
  • Rank 95,028 (Top 2 %)
  • Language
    Shell
  • License
    The Unlicense
  • Created over 13 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

a spiffy collection of nano syntax highlighting files

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 https://github.com/serialhex/nano-highlight ~/.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 didn't make all of them, here is the list of who did what with whom:

Files from nanosyntax (New BSD license)

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

More Repositories

1

PF2e-TeX

A (very beta) Pathfinder second edition LaTeX style, for making documents and books that look like PF2e (which hopefully looks like the playtest stuff)
TeX
15
star
2

cl-imgui

Common Lisp bindings to the Dear IMGUI Library: https://github.com/ocornut/imgui
Common Lisp
14
star
3

land-of-lisp

notes & programs as i work through land of lisp
Common Lisp
10
star
4

language-common-lisp

Common Lisp syntax highlighting for Atom
Common Lisp
8
star
5

arimaa

C
3
star
6

Surreal-Numbers

An implementation of surreal numbers using Haskell
Haskell
3
star
7

empire

my `homesick` castle
2
star
8

cop2000

work & whatnot for my introduction to computer programming 1 course
C++
2
star
9

fun-stuff

a few small projects that need a home... and some tlc
Ruby
2
star
10

causes_problem

Go
2
star
11

ducking-octo-wight

railstutorial.org sample app
Ruby
2
star
12

freezing-octo-cyril

railstutorial.org scaffold demo
Ruby
2
star
13

go_play

a small playground of mine for googles go
Ruby
2
star
14

boar-with-shoes

Python
2
star
15

fractal-explore

a simple fractal explorer
Ruby
2
star
16

Resume

My resume... peruse at your leisure.
TeX
2
star
17

technote.happs

my technote app, in happstack...
Haskell
2
star
18

rwh

repo for my real world haskell code
Haskell
2
star
19

evil_scheme

here is plans to my evil scheme... cause i'm so evil!
Haskell
2
star
20

project-euler

my project euler project files (kind a redundant, no?)
Ruby
1
star
21

Language---Up-Goer-5

The Up Goer 5 Sublime Text Word Set Add-On!!!
Haskell
1
star
22

shogun_extra

Extra work surrounding the Shogun toolbox
Python
1
star
23

POWERLIST

Gives a series of permutations of input files.
C
1
star
24

ddrescue

my fork of ddrescue - http://www.gnu.org/software/ddrescue/ddrescue.html
C++
1
star
25

powershell-scripts

Funky little Powershell scripts that I've written / cobbled together
PowerShell
1
star
26

Ghost

A simple utility to get QBXML to & from QuickBooks
C#
1
star
27

multipass

A password manager using Web 1.0 technologies!
HTML
1
star