As you may know, Nano is an open-source, user-friendly, text user interface text editor, based on Pico, which is released under a proprietary license.
While it is not as complex as Vim or Emacs, Nano has syntax highlighting and indentation features.
Useful Nano tips:
- Disable mouse support – Alt+M
- Go to next line – Ctrl+N
- Go to previous line – Ctrl+P
- Go to the next chapter – Ctrl+F
- Go to the previous chapter – Ctrl+B
The latest version available is Nano 2.5.3, which brings the below changes:
- src/browser.c (do_browser): Plug a memory leak by not copying a string twice
- src/browser.c (do_browser): Now put things in the proper order.
- src/files.c (make_new_buffer), src/nano.c (splice_opennode)
- the latter function, by handling the two cases (the creation of the first element, and the insertion of a new element) directly.
Up to date packages are available via some third party PPA, so installing Nano on Ubuntu systems is easy. Just add the PPA to your system, update the local repository index and install the nano package:
$ sudo add-apt-repository ppa:n-muench/programs-ppa
$ sudo apt-get update
$ sudo apt-get install nano
Optional, to remove nano, do:
$ sudo apt-get remove nano
The installation instructions should work on Ubuntu 15.10 Wily Werewolf, Ubuntu 14.04 Trusty Tahr, Linux Mint 17.x and Elementary OS 0.3 Freya systems.