Language Selection

English French German Italian Portuguese Spanish

nano vs. vim: Terminal Text Editors Compared

Filed under

One of the primary ways to use the Terminal is to configure text files Terminal text editors and control how certain programs or system services behave. For terminal text editing, two of the top choices are nano and vim. In order to determine which one is better, we’ll look at features and general ease of use. While system resource usage could also technically be considered in this comparison, it’s safe to assume that as terminal text editors they require a negligible amount of system resources.


The nano project was created in 1999 in order to emulate the Pico text editor but improve on it. nano also claims to be 2/3 to 1/8 the size of the Pico binary, which makes it very lean and usable on even the weakest systems. vim, originally developed in 1991, is based on the original vi text editor that was developed in 1976. Therefore, like nano, vim aims to improve upon the project that it’s based on. As of right now, these two along with emacs are still the top contenders for Terminal text editing.

rest here

More in Tux Machines

How Debian managed the systemd transition

Debian's decision to move to systemd as the default init system was a famously contentious (and rather public) debate. Once all the chaos regarding the decision itself had died down, however, it was left to project members to implement the change. At DebConf 2015 in Heidelberg, Martin Pitt and Michael Biebl gave a down-to-earth talk about how that implementation work had gone and what was still ahead. Pitt and Biebl are the current maintainers of the systemd package in Debian, with Pitt also maintaining the corresponding Ubuntu package. The pair began with a brief recap of the init-replacement story, albeit one that steered mercifully clear of the quarrels and stuck to the technical side. Initial discussions for replacing the System V init system began as far back as 2007, but pressure grew in recent years, included considerable demand from system administrators and upstream projects (typically wanting specific features like support for logind or journald). Once the Technical Committee had made its decision to adopt systemd as the default, Pitt said, "the real work" began. Read more (paywalled before)

Linux 4.3-rc4

You all know the drill by now. It's Sunday, and there is a new release candidate out there. Things look fairly normal. We have noticeably fewer commits than rc3 (which was fairly big), and I don't see anything unusually alarming. The statistics look pretty normal too: just under half of the patch is drivers (drm continues to be noticeable, but there's infiniband, mmc, input layer etc). About a quarter is arch updates (m68k, MIPS, x86) and the final quarter is solidly "misc" (doc updates, tools, scripts, scheduler, mm..). The appended shortlog gives a flavor of the details. Linus Read more

Linux.Wifatch ‘malware’ is actually making routers more secure

We seem to have a vigilante white hat hacker on our hands, as newly discovered ‘malware’ aimed at Internet of Things devices and certain routers appears to be making these devices more secure. The Linux.Wifatch virus is doing the exact opposite of what most viruses would, rather than stealing user information or holding systems for ransom, it is actually improving security. Read more