Windows.  Viruses.  Notebooks.  Internet.  office.  Utilities.  Drivers

Nevertheless, the rational grain of the experiment is once again to draw the attention of users to the undeservedly forgotten console mode, which in some cases is not just justified, but has no alternative. Of course, we are not talking about all programs. It is hardly possible to imagine a situation where the user will be forced to use a console browser.

And here is the console text editor- the tool is not just useful, but necessary. In particular, the concept of a number of distributions involves manually editing some configuration files even before the first launch of the graphics mode. Or an emergency when the "X" does not start at all.

No wonder Linux has a special environment variable EDITOR, which, as a rule, corresponds to the console text editor (nano or vi) by default, since it can be launched in any mode. Versatility in this case more important than convenience, which is often passed off as a banal habit.

Hence the moral: each user should be able to work in at least one text editor. At least at the level of making minimal changes to the configuration files. However, it often happens that upon closer acquaintance it turns out that this particular program is best suited for solving regular user tasks.

1 Emacs

Emacs editor

The oldest text editor that started the history of free software. However, he can simply be called an editor very, very conditionally. Experienced Emacs users say that this program can do everything except for making coffee. But at the same time, they clarify that they have not yet fully figured out all its capabilities.

The main advantage of Emacs is the almost unlimited possibility of configuration and customization. The main drawback of the editor is the reverse side of its merits. Even a competent and patient user who knows how and loves to read instructions will need to spend a lot of time to customize the application according to their own ideas about convenience.

The development of Emacs in the direction of its versatility has caused an already unintuitive program to become extremely difficult to use. In particular, the control is carried out using various keyboard combinations, which will not be easy to remember.

This feature, which is unpleasant for a novice user, is partly compensated by an excellent help system. Therefore, in practice, it is enough to remember the keyboard combination to call it.

Of course, use Emacs for initial one-time editing configuration files- the same as shooting sparrows from a cannon. Spending time on learning this editor is worthwhile if the user has a firm intention to actively exploit it to solve their current tasks - writing code or plain text.

Which, by the way, is not at all a desire for originality - quite a few programmers still use Emacs and consider it one of the best tools for working with code. With certain settings, it is also convenient for typing ordinary texts - soft line wrapping, on-the-fly spell checking, and many other useful functions work.

2 Jed


Editor Jed

This editor allows you to use the menu, which makes working with it easier and more visual. However, the simplicity is visible - some features of Jed make working in it a serious test of endurance for a beginner.

In particular, to delete a character in Jed, only the Backspace key is used - the editor does not respond to pressing the Delete button. If you run the program without specifying the name of the file being edited, but you can’t load it through the menu - just enter it manually.

Nevertheless, the program allows you to work with several files at the same time, supports highlighting modes, etc. Some experienced users call Jed lightweight Emacs, and there is some truth in this. At least the keyboard shortcuts are similar.

3 Joe


Editor Joe

Joe- editor controlled by keyboard shortcuts. Its main feature is its "many-sidedness" - the program can "disguise itself" as other similar programs. For example, to run an application in emacs mode, type jmacs.

Despite the outward simplicity, the Joe editor has great features: syntax highlighting, support for working with multiple files at the same time, ASCII graphics drawing mode, auto-completion, etc. in combination with a fully translated into Russian man-instruction, this makes the application good choice both for beginners and experienced users.

Like other console text editors, Joe is extremely rich in all sorts of options and even has its own macro language. The reverse side of this advantage is also traditional - it is completely inappropriate to spend time on setting up and customizing for the sake of editing a couple of files once.

4 Mcedit


Mcedit Editor

Mcedit- a simple editor built into the file manager Midnight Commander. However, it can also be used as a standalone application.

The most important advantage of this program is that the user does not need to read the documentation to perform some simple operations. Everything is intuitive, and a brief help on the necessary keys can always be seen at the bottom of the screen.

Of course, with a strong desire, the functionality of Mcedit can be extended through macros, which are created quite simply - by the usual logging of actions. The program also has a few settings in which you can set some important parameters - for example, determine the line wrapping mode.

Nevertheless, Mcedit is an excellent editor for infrequent use, when you need to tweak just a couple of lines in any configuration file. It is hardly advisable to use it for something more complex.

5 Nano


Nano Editor

Nano started developing as a free clone of Pico - the built-in editor mail client Pine. It is installed by default on most distributions, and it is often used as an example in various system setup tutorials.

Today Nano is a reasonable compromise between simplicity and functionality. Making small changes to the configuration files does not require reading the documentation, especially since even the hint for the most important commands has been translated into Russian.

It is even difficult to make a mistake, because before saving the file, the program will ask you to confirm this action. In general, a very good editor for beginners.

On the other hand, there are a lot of keyboard shortcuts for navigation, search and editing, turning line wrapping on and off, various backlight modes ... Nano does all this good tool for a programmer or technical writer. But in this case, its setup and customization is unlikely to be easier than in Emacs.

6 Pico


By default, Vim starts in command mode, which does not involve entering characters, but is used to perform all sorts of operations on text. As a result, a beginner simply does not understand what exactly he should do to start editing and is looking for another tool for this purpose.

In this sense, Vim is similar to Emacs - learning it solely for editing configuration files is completely irrational. Vim is an extremely powerful tool, sought after by both programmers and technical writers as it allows them to get the most out of their day-to-day work.

The possibilities of Vim are very great: syntax highlighting, spell checking, applying soft transfer lines, the use of all kinds of commands to work on text ... At the same time, almost all editor functions are configurable, including keyboard shortcuts.

Interestingly, Vim is not distributed under the terms of the GPL. Its authors have opted for a GPL-compatible Charityware license that explicitly requires a portion of the funds raised to go to charity. Since, for obvious reasons, selling copies of this application does not make sense, the program, when launched, shows the user a request to donate funds to the children of Uganda.

Thus, Vim is a great choice for "seriously and for a long time." But for episodic performance of some operations, it is better to look for a simpler tool.

PS. Wikipedia has an excellent list of most Linux text editors.

The text editor must have application for any operating system. We have no shortage of the best modern editors for Linux. But these are graphic editors.

By the way, we already talked about that earlier. You can also read this article on our website. It will be very helpful to many.

The best text editors for Linux

As you know, the real strength of Linux lies in command line . And when you're working on the command line, you need a text editor that can work right inside the terminal.

To that end, today we are going to compile a list of the best text editors for Linux and the command line.

vim

If you're pretty into Linux for a long time, you must have heard of Vim. Vim is highly customizable, cross-platform and highly efficient text editor. We were obliged to add it to our list of the best text editors for Linux.

Almost every Linux distribution comes preinstalled with Vim. It is extremely popular due to its wide range of features.

Vim can be quite torturous for first-time users. I remember when I tried to edit a text file with Vim I was completely taken aback. I couldn't type one letter on it, and the funny part is, I couldn't even figure out how to close this thing. If you're going to use Vim, you'll need to figure it out and figure it out in order to get up a very steep learning curve.

But after you've gone through it all, combed through some documents, remembered your commands and shortcuts, you'll find that the hassle was worth it. You can customize Vim however you like - tweaking its interface, but if it looks like it suits you, give your workflow a boost by using various custom scripts, plugins, and so on. Vim supports syntax highlighting, macro photography, and action history.

The official website says that, Vim: A versatile and professional tool for everyone!

Productivity is entirely up to you and how you use it. You can just use it for simple text editing, or you can set it up as a complete IDE.

GNU Emacs

GNU Emacs is undoubtedly one of the most powerful text editors. If you've heard of Vim and Emacs, you should know that both of these editors have a very loyal fan base and often take their text editor very seriously. And you can find a lot of humor and stuff on the internet about it:

Emacs is cross-platform and has a command line interface and a graphical interface. It is also very rich in various features and, most importantly, extensible.

Like Vim, Emacs also comes with a steep learning curve. But once you master it, you can fully use your power. Emacs can handle almost any type of text file. The interface is customizable to suit your workflow. It supports macro photography and shortcuts.

The unique strength of Emacs is that it can be transformed into something completely different from a text editor. Exists big collection modules that can transform an application for use in completely different scenarios, such as a calendar, news reader, word processor, etc. You can even play games in Emacs! We think it also deserves to be included in the list of the best text editors for Linux.

Nano

When it comes to simplicity, Nano is the way to go. Unlike Vim or Emacs, the learning curve for nano is almost flat.

If you just want to create and edit a text file and get on with your life, look no further than Nano.

Shortcuts available on Nano are displayed at the bottom user interface. Nano includes only the basic features of a text editor.

It is minimal and ideal for editing system and configuration files. For those who don't need advanced features from a command line text editor, Nano is the perfect match.

Other text editors

Another editor I would like to mention:

Editor Nice (ne): The official site says:

If you have the resources and patience to use emacs, or the right mental twist to use vi, then probably not for you.

In fact, ne has a set additional features, such as Vim or Emacs, including scripting and macro recording. But it has more intuitive controls and a not too steep learning curve.

What do you think of these text editors for Linux?

If you find an error, please highlight a piece of text and click Ctrl+Enter.

,

Gone are the days when the Linux OS seemed like a puzzle to beginners. Most of the currently popular linux-distribution kits have a convenient and intuitive graphical interface, as well as standard programs supplied with them. But there are exceptions. Text editor Nano, for example, does not have GUI, using the command line interface instead. What is it for if there is gedit?


Nano mainly used in servers linux, it is convenient when editing configuration files, and if you decide to master the terminal, it would be highly desirable to master and Nano. There is nothing particularly difficult about this, of all console text editors Nano is the easiest to use, it is enough to know the basic key combinations with which you work with files and text.

Installation and launch

IN latest versions ubuntu editor Nano is present by default, and therefore does not need to be installed.

To run it, you need to open a terminal and run the command nano. If the terminal responds with a message "command not found" or something like that, then it will mean that the editor is not installed. In this case, you will need to install it by running the following command right there in the console:

sudo apt-get install nano

One command is enough to launch the editor - nano. This will create a new file in the current directory. To determine which folder is the current one, you can use the command pwd in the terminal. If you need to open a specific file, specify its name, and if it is located in a folder other than the current one, add the full path to it, as shown in the example of the second command:

nano hello.txt
nano /home/compick/hello.txt

As for the configuration files, when they are opened after nano add a key -w, this is important because it disables line wrapping, which is not used in system files. The editor interface is represented by a console window, in the upper part of which the version of the program and the name of the current file are indicated, as well as the status (whether it was changed or not) . At the bottom of the window are two lines showing the most commonly used key combinations. A status bar is also displayed at the bottom, which displays various messages and fields for commands, for example, the F6 button starts a text search.

Basic principles of working with the Nano editor

The hotkey labels can be somewhat confusing for a novice user, but this is only at first. Symbol (^) means the Ctrl key, and (M) Meta- Alt or Esc key. All this can be found in the built-in help. nano called by pressing ^+G, i.e. Ctrl + G .

Arrow keys can be used to move through the content, Ctrl + O followed by typing to save changes. Y for confirmation and N to cancel. At the time of saving, the editor asks for a file name, which must be entered in a special field at the bottom of the window.

To cancel the changes made to a file that has not yet been saved, you need to press Ctrl + C . For cutting out entire lines and paragraphs in nano the combination Ctrl + K is responsible, for their insertion - Ctrl + U. To select certain elements of the line, use Ctrl + 6 or Alt + A , to call search string- Ctrl + W or F6 . The Ctrl + A and Ctrl + E commands allow you to quickly move to the beginning and end of the line, the Ctrl + Y and Ctrl + V commands scroll the content text file down and up. Finally, Ctrl + X is used to exit the editor to the terminal.

But it's all just a part functionality nano. The editor supports counting words, lines and symbols, working with several files at once, creating backups editable documents, using the mode "only for reading", enable partial mouse support, describe syntax for highlighting, change tab width, enable file autosave on exit, and more. Additional parameters are set mainly when the editor is launched, but some, for example, responsible for backup key -b can be used when saving a file.

From additional features nano note the setting appearance console window.

Text Linux editor, probably one of the most used programs, after the browser and file manager. It can be used to write code, edit configuration files, create user instructions or notes, and much more.

On Linux, text editors come in two forms: text - console editors, and graphical - text editors for Linux with a graphical user interface. The former are most often used on servers, the latter on home computers. In this article, we'll take a look at the best open source Linux text editors. source code, both for servers and for personal computers.

Vim is a powerful editor Linux text for the command line, which extends and enhances the functionality of the old Unix Vi editor. This is one of top editors for Linux, it is one of the most popular and frequently used text editors among system administrators and programmers. Many users consider it an editor for programmers. When editing code and configuration files, you can turn on syntax highlighting.

2. Gedit

It is a multifunctional best Linux text editor, with GUI. It comes by default in the GNOME desktop environment. The editor is very easy to use and customize, and it supports a bunch of plugins.

Here are its main benefits:

  • UTF-8 support
  • Setting font size and colors
  • Set up syntax highlighting
  • Copy and paste functionality
  • Undo and redo actions
  • Rolling back files
  • Search and Replace
  • Clipboard

3. Nano Editor

Nano is a very easy to use Linux console text editor for beginners and advanced alike. Linux users. It is very convenient to use.

Some features of Nano:

  • Highly customizable keyboard shortcuts
  • Syntax highlighting
  • Undo and redo actions
  • Occupies all available space on standard output
  • Supports reading from standard input

4. GNU Emacs

It is a highly extensible and customizable Linux text editor, with a built-in interpreter for the lisp programming language. To expand the functionality, you can install various extensions.

  • Emacs features:
  • Lots of documentation
  • Syntax highlighting
  • Support for multiple languages ​​using Unicode
  • Support for various extensions, including mail, news, debugger, calendar and others.

5. Kate/Kwrite

It is a feature rich and highly extensible text editor that comes with the KDE Plasma desktop environment. The Kate project is aimed at developing two main programs: KatePart and Kate.

KatePart is a text editor component used in many KDE applications where text editing may be required, while Kate is a multi-document interface for working with text editors.

Key features:

  • Extend functionality with scripts
  • Unicode support
  • Editing text in multiple panels
  • Autocomplete support

It also supports remote file editing and many other functions, including search and replace, programming, text highlighting, backup, etc.

6. Lime Text

It is even more than just a powerful text editor for linux. It's a whole open source IDE. We can say the successor to the popular Sublime Text. Can be used both on the command line and with a graphical interface.

7. Pico Editor

This is another command line editor based on the editor used by Pine news. It is the best Linux text editor for new users, mainly because of its simplicity compared to other GUI editors.

8JedEditor

This is another linux console text editor with GUI support and drop down menu. It is made specifically for the development software and one of his key features is to support Unicode mode.

9.GVM

This graphic version popular text editor VIm. It has all the same features as Vim, as well as a menu with which you can do a lot of things.

10. Geany

This is another IDE like linux text editor, tailored for software development using GTK tools.

It has all the necessary basic features:

  • Syntax highlighting
  • Plugin Interface
  • Support various types files
  • Support for code folding and navigation
  • Autocomplete
  • Support for auto-closing HTML and XML tags
  • Project Management Functions

11. Leaf pad

It is a lightweight linux text editor with GTK based GUI. It is popular among new Linux users due to its simplicity.

Editor Features:

  • Automatic encoding detection
  • Undo and redo functions
  • Line numbers in the file
  • Drag and drop support
  • Print support

Bluefish is the best Linux text editor for programmers and web developers, easy to install and use. He supports a large number of features:

  • Lightweight and fast
  • Integration with external Linux utilities: lint, weblint, make, awk, grep, sort and more.
  • Spell check feature
  • Support for working on multiple projects
  • Remote file editing
  • Find and replace support
  • Support for undo and redo actions
  • Automatic recovery of changed files

13. Atom

This is a highly customizable Linux text editor for developers from Github based on the Chromium engine. The program is more like an IDE than just an editor. The functionality can be extended with a huge number of plugins.

Probably one of the best editors for web developers. Here are its features:

  • Modern interface in Flat style
  • Support for a huge number of plugins
  • Support for many programming languages
  • Syntax highlighting
  • Debugging programs in Chromium
  • Error highlighting

14. Brackets

Another modern Linux text editor based on the Chromium engine, this time from Adobe. Peculiarities:

  • LivePreview - all changes made to the document are immediately visible on the web page
  • Syntax highlighting
  • Editing Hints
  • Lots of plugins and extensions

EncryptPad is a cross-platform simple text editor with data encryption. It also has a built-in utility for encrypting other types of files.

  • Texmaker is a text editor for creating LaTeX documents.

  • Typora is an instant markdown editor.

  • Brackets is a free editor for web designers and developers. Mainly intended for writing and editing HTML, CSS and JavaScript code.

  • Textadept is a text editor for programmers. Made in a minimalist style, allows you to separate working window into several parts and view one or more files at the same time. Syntax highlighting is supported for most programming languages.

  • emacs

    Emacs (GNU Emacs) is a text editor for Linux in which most of the actions are performed by keyboard shortcuts. Emacs is highly customizable and supports add-ons. Full-fledged work with Emacs requires knowledge of the documentation for the program.

  • vim

    Vim is a powerful text editor for Linux that can run entirely in console mode. Vim has many features. Management in it is carried out using keyboard shortcuts and " context commands', of which there are many.

  • Sigil

    sigil- free program for creating e-books V EPUB format. Functions of text formatting and markup, insertion of images, hyperlinks, automatic creation titles and more. With Sigil, you can create full-fledged e-books.

  • Fb2edit is a free and open source editor for creating FB2 eBooks. Supports the insertion of illustrations, footnotes and hyperlinks.

  • If you notice an error, select a piece of text and press Ctrl + Enter
    SHARE: