5 top Linux text editors that aren’t vi or Emacs (and why they are my favorite)

Weiquan Lin/Getty Pictures

Linux has at all times had textual content editors. Again within the early days, the notorious editor wars that pitted Emacs in opposition to vi and people on both aspect of the fence have been fiercely loyal to their selection. Each of these textual content editors will not be solely very highly effective however aren’t precisely the user-friendly type. Think about this: To avoid wasting a file in vi, you must hit Shift+: after which kind wq (for write/give up) to save lots of. These varieties of keyboard shortcuts are essential to perform inside vi and most customers (particularly these new to Linux) do not want the added confusion.

Additionally: 10 Linux apps I can’t do without – and why

The fashionable textual content editor has develop into one thing fairly completely different. It is not just for configuring Linux or writing code. Though textual content editors are nonetheless used for these duties, they will also be used for note-taking, journals, and even writing a novel. Though I’ve by no means used a textual content editor to put in writing a full-length ebook, I’ve used them for brief tales and flash fiction.

I anticipate to catch flack for this, however neither vi nor Emacs is included on this listing. Why you ask? 

Though each of these editors are exceptionally highly effective, I’ve at all times discovered them to get in the best way greater than assist. Emacs and vi aren’t for the common consumer or on a regular basis use — and that is what I am centered on right here. For those who’re a severe admin, energy consumer, or developer, vi or Emacs will serve you very nicely. So, should you discover the editors listed right here too easy or not versatile sufficient, you’ll be able to at all times flip to these two powerhouse instruments that can assist you code, configure, and administer.

For individuals who respect instruments which can be simpler to make use of (however nonetheless efficient), learn on.

1. nano

The nano editor has been my go-to for many years. Sure, it is fundamental, however it will get the job performed. Nano consists of all of the options I would like in an editor (and never far more). With nano, you’ll be able to write easy flat textual content information (that means that they don’t have any formatting), and luxuriate in options like interactive search-and-replace, undo/redo, syntax coloring, {smooth} scrolling, auto-indentation, go-to-line-and-column-number, function toggles, file locking, and internationalization assist. 

Additionally: 5 Linux file and folder management commands you need to know

One factor to notice: Nano is a terminal utility, which implies it would not have a GUI app. You open the terminal and situation the command nano filename (the place filename is the file you wish to both edit or create). There are a number of choices you should use, resembling –backup (which creates a backup of the earlier model of the file), –tabstospaces (which converts typed tabs to areas), –locking (which locks the file when modifying), –smooth (for {smooth} scrolling), and plenty of extra.

Nano is free and comes pre-installed with most Linux distributions.

2. Gedit

Gedit, the default textual content editor for the GNOME desktop, is a fundamental however efficient GUI utility. With Gedit you will discover options like tabs, assist for internationalized textual content (UTF-8), syntax highlighting, markdown assist, configurable fonts and colours, print assist, auto-save, create auto backup, keyboard shortcuts, theming, full-screen mode, and extra. 

The factor that sells me on Gedit is its simplicity. Though I nearly at all times default to nano, after I want a GUI textual content editor, it is normally Gedit. In the end, nevertheless, one of many foremost causes I maintain Gedit round is that the nano editor needs to be opened from the terminal window, which implies you’ll be able to’t merely double-click a file in your file supervisor to open it in a terminal. Ergo, Gedit. There may be, nevertheless, one more reason why I typically will go for Gedit. You need to use this textual content editor in fullscreen mode, so after I wish to edit a textual content file with out distraction, I can go fullscreen and chase every thing else away.

Additionally: The top 5 GNOME extensions I install first (and what they can do for you)

Gedit is free and ships with most GNOME-based desktop distributions.

3. COSMIC Textual content Editor

COSMIC Textual content Editor would be the default textual content editor for System76’s COSMIC desktop (as soon as it is lastly launched). Nevertheless, the COSMIC Textual content Editor is already exhibiting nice progress and guarantees to be the Gedit equal of COSMIC. COSMIC will embrace a reasonably typical function set, resembling syntax highlighting, commonplace keyboard shortcuts, discover, spellcheck, venture assist, revert modifications, doc statistics, and even Git administration assist.

Additionally: Linux distro hopping is a fun way to find the perfect desktop operating system

It is a uncommon event that I discover a darkish theme preferable, however with COSMIC Textual content Editor, it simply appears becoming. Like Gedit, COSMIC Textual content Editor could be very easy to make use of and will be employed for fundamental or much more sophisticated duties (resembling writing code). For those who use Pop!_OS, you may get an thought of what COSMIC Textual content Editor will feel and look like by putting in it from the Pop Shop.

COSMIC Textual content Editor is free and can be formally accessible when the COSMIC Desktop OS ships. 

4. Kate

Kate is to KDE Plasma what Gedit is to GNOME. The distinction between the 2 is that Kate affords just a few extra options, resembling multi-cursor and multi-cursor choice (which lets you choose a number of strings of textual content without delay and even manipulate a number of strings on the similar time). 

Kate additionally options venture assist, syntax highlighting, commonplace keyboard shortcuts, and even plugins. With the plugins function, you’ll be able to add SQL question assist, GDB debugging, one-click venture construct, and extra. Consider Kate as a supercharged model of Gedit that will also be used for creating and modifying easy textual content information.

Additionally: My top 5 user-friendly GUI backup tools for the Linux desktop (and why you need one)

Kate is free and ships because the default textual content editor for the KDE Plasma desktop.

5. Elegant Textual content

Sublime Text is the one proprietary editor on the listing and is essentially the most highly effective (by far) of these listed. One factor to know about Elegant is that it’s geared towards programmers and that’s clear with with options like GPU rendering assist, tab multi-select, context-aware auto-complete, highly effective syntax highlighting engine, in-editor code constructing, snippets, command palette (to launch particular instructions with keyboard shortcuts), simultaneous modifying, and extra. Sure, Elegant will also be used for creating and modifying fundamental textual content information, however that will be like going to the grocery retailer in a Ferrari. 

Additionally: Gemini Live is rolling out to all Android users – for free. Here’s how to access it

Elegant will be examined at no cost on Linux (in addition to MacOS and Home windows), however to proceed utilizing this highly effective textual content editor, it would price you a one-time fee of $99.00.

For those who’re simply seeking to create and edit easy textual content information (or edit Linux configuration information), follow Nano. For those who choose a GUI, any one in every of these instruments will give you the results you want. For those who like the concept of Elegant Textual content (which is a improbable device), simply keep in mind it is in all probability extra energy than you will ever want for easy textual content modifying.

Shopping cart