20160720-1 选题

This commit is contained in:
Ezio 2016-07-20 10:08:23 +08:00 committed by GitHub
parent dd1626625d
commit 9a1040eefb

View File

@ -0,0 +1,92 @@
BEST TEXT EDITORS FOR LINUX COMMAND LINE
==========================================
![](https://itsfoss.com/wp-content/uploads/2016/07/Best-Command-Line-Text-Editors-for-Linux.jpg)
A text editor is a must have application for any operating system. We have no dearth of [best modern editors for Linux][1]. But those are GUI based editors.
As you know, the real power of Linux lies in the command line. And when you are working in command line, you would need a text editor that could work right inside the terminal.
For that purpose, today we are going to make a list of best command line text editors for Linux.
### [VIM][2]
If youre on Linux for quite some time, you must have heard about Vim. Vim is an extensively configurable, cross-platform and highly efficient text editor.
Almost every Linux distribution comes with Vim pre-installed. It is extremely popular for its wide range of features.
![](https://itsfoss.com/wp-content/uploads/2016/07/vim.png)
>Vim User Interface
Vim can be quite agonizing for first-time users. I remember the first time I tried to edit a text file with Vim, I was completely puzzled. I couldnt type a single letter on it and the funny part is, I couldnt even figure out how to close this thing. If you are going to use Vim, you have to be determined for climbing up a very steep learning curve.
But after you have gone through all that, combed through some documentations, remembered its commands and shortcuts you will find that the hassle was worth it. You can bend Vim to your will customizing its interface however it seems fit to you, give your workflow a boost by using various user scripts, plugins and so on. Vim supports syntax highlighting, macro recording and action history.
As in the official site, it is stated that,
>**Vim: The power tool for everyone!**
It is completely up to you how you will use it. You can just use it for simple text editing, or you can customize it to behave as a full-fledged IDE.
### [GNU EMACS][3]
GNU Emacs is undoubtedly one of the most powerful text editor out there. If you have heard about both Vim and Emacs, you should know that both of these editors have a very loyal fan-base and often they are very serious about their text editor of choice. And you can find lots of humor and stuff on the internet about it:
Suggested Read [Download Linux Wallpapers That Are Also Cheat Sheets][4]
![](https://itsfoss.com/wp-content/uploads/2016/07/vi-emacs-768x426.png)
>Vim vs Emacs
Emacs is cross-platform and has both command-line and graphical user interface. It is also very rich with various features and, most importantly, extensible.
![](https://itsfoss.com/wp-content/uploads/2016/07/emacs.png)
>Emacs User Interface
Just as Vim, Emacs too comes with a steep learning curve. But once you master it, you can completely leverage its power. Emacs can handle just about any types of text files. The interface is customizable to suit your workflow. It supports macro recording and shortcuts.
The unique power of Emacs is that it can be transformed into something completely different from a text editor. There is a large collection of modules that can transform the application for using in completely different scenarios, like calendar, news reader, word processor etc. You can even play games in Emacs!
### [NANO][5]
When it comes to simplicity, Nano is the one. Unlike Vim or Emacs, the learning curve for nano is almost flat.
If you want to simply create & edit a text file and get on with your life, look no further than Nano.
![](https://itsfoss.com/wp-content/uploads/2016/07/nano.png)
>Nano User Interface
The shortcuts available on Nano are displayed at the bottom of the user interface. Nano includes only the basic functions of a text editor.
It is minimal and perfectly suitable for editing system & configuration files. For those who doesnt need advanced features from a command-line text editor, Nano is the perfect match.
### OTHERS
There is one more editor Id like to mention:
[The Nice Editor (ne)][6]: The official site says,
>If you have the resources and the patience to use emacs or the right mental twist to use vi then probably ne is not for you.
Basically, ne features many advanced features like Vim or Emacs, including scripting and macro recording. But it comes with a more intuitive control and not so steep learning curve.
### WHAT DO YOU THINK?
I know that if you are a seasoned Linux user, youll say these are the obvious candidates for the list of best command line text editors for Linux. Therefore, I would like to ask you, if there are some other command line text editors for Linux that you want to share with us?
--------------------------------------------------------------------------------
via: https://itsfoss.com/command-line-text-editors-linux/?utm_source=newsletter&utm_medium=email&utm_campaign=ubuntu_forums_hacked_new_skype_for_linux_and_more_linux_stories
作者:[Munif Tanjim][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://itsfoss.com/author/munif/
[1]: https://itsfoss.com/best-modern-open-source-code-editors-for-linux/
[2]: http://www.vim.org/
[3]: https://www.gnu.org/software/emacs/
[4]: https://itsfoss.com/download-linux-wallpapers-cheat-sheets/
[5]: http://www.nano-editor.org/
[6]: http://ne.di.unimi.it/