CyberTek - the future at the present!
Google

Archive for February, 2010

NANO editor, Syntax colored

Posted by: admin (Feb 22)

To add the syntax colored nano should primarily create the configuration file. Nanorc in their own home page, find the second instance from this address: http://code.google.com/p/nanosyntax/source/browse/ # svn / trunk / syntax-nanorc files. nanorc be included in the configuration to achieve the desired effect.

Sample text to be added to. Nanorc:

include "/ usr / share / nano / php.nanorc"
include "/ usr / share / nano / sh.nanorc"
include "/ usr / share / nano / java.nanorc"
include "/ usr / share / nano / patch.nanorc"
include "/ usr / share / nano / python.nanorc"
include "/ usr / share / nano / html.nanorc"
include "/ usr / share / nano / perl.nanorc"
include "/ usr / share / nano / ruby.nanorc"
include "/ usr / share / nano / js.nanorc"

Published in: linux, shell, tips
Powered by Cybertek - Remote Assistance