LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Syndicated Linux News (https://www.linuxquestions.org/questions/syndicated-linux-news-67/)
-   -   LXer: Tip: Easily Enable Syntax Highlighting in Nano Editor (https://www.linuxquestions.org/questions/syndicated-linux-news-67/lxer-tip-easily-enable-syntax-highlighting-in-nano-editor-671930/)

LXer 09-23-2008 10:10 PM

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:

Read More...


All times are GMT -5. The time now is 01:39 AM.