nano syntax highlighting

nano syntax highlighting

This article describes how to get syntax highlighting in the command line emacs editor “nano

Ubuntu

zcat /usr/share/doc/nano/examples/nanorc.sample.gz > ~/.nanorc
sed -i 's|# include|include|g' ~/.nanorc

Centos/Redhat

cp /usr/share/doc/nano-2.0.9/nanorc.sample ~/.nanorc
sed -i 's|# include|include|g' ~/.nanorc

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>