sábado, 16 de marzo de 2013

display line numbers in nano

Nano is one of the best command line editor, in fact, is my first choice, but one feature that does not come turn on is the the display that shows the current line and this is very helpful, because when I'm editing some file, for example my apache.conf, sometimes is necesssary go to a specific line, so here it is the how to:

1. create the appropiate configuration file in your home folder, like this:
nano ~/.nanorc

2. type the next line:
   set const

3. save it and close it

ok, that's it, next time you use nano you'll see in the bottom center and message showing you the line numbers and other things.


No hay comentarios:

Publicar un comentario