Open source text editor GNU nano has reached the milestone of version 5.0. Take a look at what features this new release brings.
There are plenty terminal-based text editors available for Linux. While editors like Emacs and Vim require a steep learning curve with bunch of unusual keyboard shortcuts, GNU nano is considered easier to use.
Perhaps that’s the reason why Nano is the default terminal-based text editor in Ubuntu and many other distributions. Upcoming Fedora 33 release is also going to set Nano as the default text editor in terminal.
GNU nano 5.0 has just been released. Here are the new features it brings.
New features in GNU nano 5.0
Some of the main highlights of GNU nano 5.0 as mentioned in its changelog are:
- The –indicator option will show a kind of scroll bar on the right-hand side of the screen to indicate where in the buffer the viewport is located and how much it covers.
- Lines can be tagged with Alt+Insert keys and you can jump to these tags with Alt+PageUp and Alt+PageDown keys.
- The Execute Command prompt is now directly accessible from the main menu.
- On terminals supporting at least 256 colors, there are new colors available.
- New –bookstyle mode in which any line that begins with whitespace is considered as the start of a paragraph.
- Refreshing the screen with ^L now works in every menu. It also centers the line with the cursor.
- Bindable function ‘curpos’ has been renamed to ‘location’, long option –tempfile has been renamed to –saveonexit and short option -S is now a synonym of –softwrap.
- Backup files will retain their group ownership (when possible).
- Data is synced to disk before “… lines written” is shown.
- Syntaxes for Markdown, Haskell, and Ada were added.
Getting GNU nano 5.0
The current version of nano in Ubuntu 20.04 is 4.8 and it’s less likely that you’ll be getting the new version anytime soon in this LTS release. When and if it is available from Ubuntu, you should get it via the system updates.
Arch users should be getting it before everyone else, as always. Other distributions should also provide the new version, sooner or later.
If you are new to it, I highly recommend this beginner’s guide to Nano editor.
How do you like the new release? Are you looking forward to using Nano 5?
About Abhishek Prakash
I am a professional software developer, and founder of It’s FOSS. I am an avid Linux lover and open source enthusiast. I use Ubuntu and believe in sharing knowledge. Apart from Linux, I love classic detective mysteries. I’m a huge fan of Agatha Christie’s work.