Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.


  Search this Thread
Old 09-23-2008, 10:10 PM   #1
LXer NewsBot
Registered: Dec 2005
Posts: 95,177

Rep: Reputation: 91
LXer: Tip: Easily Enable Syntax Highlighting in Nano Editor

Published at LXer:

For those who prefer to edit C, Bash, PHP or other source files using Nano instead of an advanced IDE like Emacs or Vim, enabling syntax highlighting is probably a must-have. To enable highlighting in Nano for various programming languages, you will first need to edit (or create if it doesn't exist) the file ~/.nanorc, where ~ is your home directory and put in it lines like this:



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Actionscript editor or syntax highlighting? lhoff Linux - Software 2 06-23-2008 12:11 PM
Need text editor w/ GOOD CUSTOM SYNTAX HIGHLIGHTING. (Dont care what langs come with) bdb4269 Programming 3 05-02-2007 03:17 AM
syntax highlighting for ls command and vim editor cseanburns Other *NIX 0 01-02-2005 03:11 AM
need editor with syntax highlighting & ftp YBA^[x] Linux - Software 5 12-16-2004 04:29 PM
GNU Nano Syntax highlighting. oneman00 Linux - Software 2 12-10-2004 06:24 PM > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 03:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration