Highlighting Nano
If you accessing to remote host and changing some configuration file or anything from console you have to be careful because any mistake can cause a big fault.So that i think when changing configuration file from console two color is not enough.That’s why lets make a colorful nano. First create a “.nanorc” file with
then write into it
-
span class=”st0″>"/usr/share/nano/tex.nanorc""/usr/share/nano/perl.nanorc""/usr/share/nano/python.nanorc""/usr/share/nano/html.nanorc""/usr/share/nano/ruby.nanorc""/usr/share/nano/nanorc.nanorc""/usr/share/nano/java.nanorc""/usr/share/nano/patch.nanorc""/usr/share/nano/man.nanorc""/usr/share/nano/c.nanorc""/usr/share/nano/sh.nanorc"
if you want another language to highlight just check the directory
if you want more nanosyntax you can download by clicking here
With this pack you can highlight
Emacs,C++,C,Pov-Ray,HTML,XML,TeX,Quoted emails (under e.g. mutt),Patch files,Manpages,Groff,Perl,Python, Ruby, Java, Assembler, Bourne shell scripts, Gentoo ebuilds and such, PHP , Xorg config,URLS, CSS, Conky, .cf, *rc – catches more files, profile, java script, configs, Xstuff, Delphi, ChangeLog , Apache 2, Apache 2 Virtual Host etc.
Another tips about nano you can use auto indentation with using -i parameter 🙂
Have a good one 🙂
Tags
Recent Posts
- PriveMall Davetiye
- Polymorphism (Overloading)
- Nautilus ve Ssh Bağlantısı
- Highlighting Nano
- Difference between C++ Class and C struct
- Gcc 4.3 and Header issues
- Re-Enable restarting X server with Ctrl+Alt+Backspace in Jaunty
- I Installed BETTER
- Ruby’de Sayiyi Yaziya Ceviren Program
- Ubuntu Volume Wheel Problem [ Fix ]
- Google Android
- Encoding mysql dump file while importing from console
- Ubuntu altinda mp3 kesmek {Cutting mp3 files over ubuntu}
- Flv’den mp3 elde eden bash programi {Converting flv to mp3}
- Video Sitelerinden İçerik İndirmek ve Videolardan Ses Almak