Essential to Linux-Text Editor
GuideWe do not lack modern editing software in Linux, but they are all based on GUI. As you know, the true charm of Linux lies in the command line. When you are working with the command line, you need a text editor that can run in the console window. Which one is suitable for you?
Text editing software is essential in any operating system. We do not lack modern editing software in Linux, but they are all based on GUI. As you know, the true charm of Linux lies in the command line. When you are working with the command line, you need a text editor that can be run in the console window. For this, we have prepared a list of text editors based on Linux Command lines.
VIMIf you have been using Linux for a while, you must have heard of Vim. Vim is a highly configurable, cross-platform, and efficient text editor. Almost all Linux releases have built-in Vim. Thanks to its rich features, it has become very popular.
Vim may make it very painful for the first time. It is very confusing when you try to use Vim to edit a text file for the first time. Maybe you cannot use Vim to input a letter. What's more interesting is that you don't even know how to close it, so if you are going to use Vim, you need to be determined to take a steep learning path. However, once you have gone through some documents and remember their commands and shortcuts, you will find that this learning experience is very worthwhile. You can transform Vim according to your wishes: Configure an interface that makes you look comfortable, and improve work efficiency by using scripts or plug-ins. Vim supports format highlighting, macro record, and operation record.
On the Vim official website, it describes how to use it depends on you. You can use it only as a text editor, or you can build it into a complete IDE (Integrated Development Environment ):
Vim: The power tool for everyone!
GNU EMACSGNU Emacs is undoubtedly one of the most powerful text editors. If you have heard of Vim and Emacs, you should know that both editors have a very loyal fan base, they also pay great attention to the selection of text editors. You can also find a lot of information about them on the Internet:
Vim vs Emacs>
Emacs is a cross-platform software with graphical interfaces and command line interfaces. It also has many features. More importantly, it is scalable!
Like Vim, Emacs also needs to go through a steep learning path. But once you have mastered it, you will be able to fully understand its power. Emacs can process almost all types of text files, and its interface can be customized to adapt to your workflow, it also supports macro records and shortcuts. The unique feature of Emacs is that it can be "deformed" and something completely different from the text editor. There are a large number of modules that can be used in different scenarios, such as calculators, news readers, and word processors. You can even play games in Emacs.
NANONano is a simple and convenient software. Unlike Vim and Emacs, the learning curve of nano is smooth. If you just want to create and edit a text file and don't want to challenge yourself too much, Nano is the most suitable for you.
The available shortcuts of Nano are displayed at the bottom of the user interface. Nano only has the most basic text editing software functions. It is very small and suitable for editing system configuration files. For those who do not need complex command line editing functions, Nano is perfect.
What do you think?Here are some other editors I would like to mention: The Nice Editor (ne): The official website introduces this: "If you have enough information, if you have the patience to use Emacs or a good mentality to use Vim, ne may not be suitable for you."
Basically, ne has as many advanced features as Vim and Emacs, including scripts and macro records. However, it provides more intuitive operations and smooth learning routes.
I know that if you are a skilled Linux user, you can say that there are still a lot to be included in the "best command line editor for Linux" list. So I want to tell you, if you still know other Linux Command Line Text editors, would you like to share them with us?
From: https://linux.cn/article-7672-1.html
Address: http://www.linuxprobe.com/best-text-editor.html