Includes instructions for import.nanorc in Readme.rst

This commit is contained in:
Daniel Kaplun 2013-12-19 23:58:35 -06:00
parent 3aa0f4c199
commit 40bffae91d
1 changed files with 3 additions and 47 deletions

View File

@ -7,54 +7,10 @@ definitions of syntax highlighting for various languages.
These should be placed inside of the ``~/.nano/`` directory.
Once there you should add the languages you want to your
nano configuration file ``~/.nanorc``. For example,
my config file includes::
nano configuration file ``~/.nanorc``. For example::
## C/C++
include "~/.nano/c.nanorc"
## Fortran
include "~/.nano/fortran.nanorc"
## HTML
include "~/.nano/html.nanorc"
## Patch files
include "~/.nano/patch.nanorc"
## Manpages
include "~/.nano/man.nanorc"
## Perl
include "~/.nano/perl.nanorc"
## Python
include "~/.nano/python.nanorc"
## reST
include "~/.nano/reST.nanorc"
## Ruby
include "~/.nano/ruby.nanorc"
## Bourne shell scripts
include "~/.nano/sh.nanorc"
## makefile .am
include "~/.nano/gentoo.nanorc"
## TeX
include "~/.nano/tex.nanorc"
## CSS
include "~/.nano/css.nanorc"
## php
include "~/.nano/php.nanorc"
## XML
include "~/.nano/xml.nanorc"
## Lua
include "~/.nano/lua.nanorc"
You can also copy the contents of ``import.nanorc`` into your
``~/.nanorc`` to include all languages.