linux 文本编辑器_Linux排名前7位的最佳文本编辑器

linux 文本编辑器_Linux排名前7位的最佳文本编辑器linux文本编辑器TexteditorsplayamajorroleforLinuxusers.Whetheritissettingupuserinstructions,editingconfigurationfilesorwritingcodescriptstorunonyoursystem,everyonehasatexted…

大家好,又见面了,我是你们的朋友全栈君。

linux 文本编辑器

Text editors play a major role for Linux users. Whether it is setting up user instructions, editing configuration files or writing code scripts to run on your system, everyone has a text editor which suits their needs better than others.

文本编辑器对于Linux用户起着重要作用。 无论是设置用户指令,编辑配置文件还是编写代码脚本以在系统上运行,每个人都有一个文本编辑器,该文本编辑器比其他人更适合自己的需求。

Everyone has a favorite editor based on features and functionality. But with numerous options available to choose from, it becomes tough to find the best text editor which suits you. Today, we list five of the best text editors in Linux and why they might be the best choice for you.

每个人都有基于功能的收藏夹。 但是,由于有众多选项可供选择,因此很难找到最适合您的文本编辑器。 今天,我们列出了Linux中最好的五个文本编辑器,以及为什么它们可能是您的最佳选择。

1. VIM –最先进的文本编辑器 (1. VIM – The most advanced text editor)

Vim With Plugins 1
Vim With Plugins
带插件的Vim

Leading our line for the best text editors in Linux is the VIM text editor. Developed by Bram Moolenaar, VIM is one of the most commonly used text editors in the Linux world. It is based on the old UNIX vi text editor, so far as the name, VIM refers to ‘Vi IMproved’. The VIM text editor offers features like syntax highlighting, split-screen functionality, automatic indentation, session tabs, and digraph input.

VIM文本编辑器是Linux上最好的文本编辑器的领先产品。 VIM由Bram Moolenaar开发,是Linux世界上最常用的文本编辑器之一。 它基于旧的UNIX vi文本编辑器,VIM的名称简称为“ Vi IMproved”。 VIM文本编辑器提供的功能包括语法突出显示,分屏功能,自动缩进,会话选项卡和有向图输入。

Beginners may usually find VIM require some effort to get used to. But if you want a powerful editor with advanced options and features, VIM is the choice for you.

初学者通常可能会发现VIM需要一些努力来习惯。 但是, 如果您需要功能强大且具有高级选项和功能的编辑器,则VIM是您的选择。

VIM is available both as a GUI application and as a command-line utility. Available since 1991, VIM is the most commonly used text editor for Linux system admins across the globe for their work. Vim can become whatever you want it to be. With the innumerable plugins and extensions, your editor can look and perform like any other GUI editor.

VIM既可以用作GUI应用程序,也可以用作命令行实用程序。 自1991年以来,VIM是全球Linux系统管理员最常使用的文本编辑器。 Vim可以成为您想要的任何东西。 借助无数的插件和扩展,您的编辑器可以像其他任何GUI编辑器一样外观和执行。

Install VIM with the following command:

使用以下命令安装VIM:


sudo apt install vim

2. Atom – 21世纪最佳文本编辑器 (2. Atom – Best text editor of 21st century)

Atom Editor 1
Atom Editor
原子编辑器

While VIM is a classic in the debate of text editors, people often discuss the need for a new and powerful editor. This is where the Atom comes in. Developed by GitHub in 2015, Atom has soared into the popularity charts soon after its launch. The developers label Atom as the “hackable text editor for the 21st century”.

尽管VIM是文本编辑器争论的经典之作,但人们经常讨论对新的强大编辑器的需求。 这就是Atom的用武之地。Atom由GitHub在2015年开发,在发布后不久便Swift进入人气榜。 开发人员将Atom标记为“ 21世纪可入侵的文本编辑器”。

And they say this rightly so as no other text editor developed this century comes even close to the reputation that Atom holds in the Linux community today. It brings you to the deep end of text editors. The features available with Atom include package manager, multi-pane interface, file system browser and auto-completion

他们说的很对,因此,本世纪没有其他文本编辑器能与Atom在当今Linux社区中享有的声誉相提并论。 它带您深入了解文本编辑器。 Atom可用的功能包括程序包管理器,多窗格界面,文件系统浏览器和自动完成

Like VIM, Atom comes both as a GUI application and a command-line utility. It is not for people whose only use of a text editor is to edit configuration files and perform other small tasks. Atom is best for programmers who want a beautiful user interface, along with powerful extensions like in-built Git integration, and more!

与VIM一样,Atom既作为GUI应用程序又作为命令行实用程序提供。 它不适用于仅使用文本编辑器来编辑配置文件并执行其他小任务的人。 Atom最适合想要美丽的用户界面以及强大的扩展功能(例如内置Git集成)的程序员!

You can install ATOM with the following commands:

您可以使用以下命令安装ATOM:


#Add PPA repository 
sudo add-apt-repository ppa:webupd8team/atom

#Update system
sudo apt update

#Install ATOM
sudo apt install atom

3. Sublime Text –最流行的文本编辑器 (3. Sublime Text – The most popular text editor)

Sublime Text
Sublime Text
崇高文字

The phrase that ‘good things are often not free’ suits Sublime Text better than anything else. Sublime Text was developed to be considered a full-fledged IDE and is the only freemium editor in this list.

“好的东西通常不是免费的”这一短语比其他任何东西都更适合Sublime Text。 Sublime Text被开发为功能完善的IDE,并且是此列表中唯一的免费增值编辑器。

Developed by the Sublime HQ in 2008, this Python-powered shareware is described as a “sophisticated text editor for code, markup, and prose” by its creators. Sublime Text offers a range of features such as simultaneous editing, split-screen mode, Pythons based APIs, and command pallet along with having a builtin support for numerous markup and programming languages.

由Sublime HQ在2008年开发,此Python驱动的共享软件被其创建者称为“用于代码,标记和散文的复杂文本编辑器”。 Sublime Text提供了一系列功能,例如同时编辑,分屏模式,基于Python的API和命令托盘,以及对多种标记和编程语言的内置支持。

Sublime Text is popular for not being a freeware in the Linux community. It is a text editor that offers useful native functions like GoToAnything and Distraction-free mode. Like Atom, Sublime Text is more focused on users who wish to use their text editor primarily for programming and developing scripts on their system. You can install sublime-text with the following command

Sublime Text因不是Linux社区中的免费软件而广受欢迎。 它是一个文本编辑器,提供有用的本机功能,例如GoToAnything和免干扰模式。 像Atom一样, Sublime Text更专注于希望使用其文本编辑器主要用于在系统上编程和开发脚本的用户。 您可以使用以下命令安装sublime-text


#add repository GPG key
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -

#Add repository to apt sources
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

#install sublime text
sudo apt install sublime-text

4. XED –最佳可扩展性文本编辑器 (4. XED – Best Text Editor for Extendability)

Xed Editor
Xed Editor
Xed编辑器

This editor comes pre-installed with a ton of functionalities and additions that make it a great replacement for Gedit and Pluma which has been used as the default editors in many distributions.

该编辑器预装了很多功能和附加功能,使其非常适合Gedit和Pluma,后者已在许多发行版本中用作默认编辑器。

Linux mint has adopted Xed as the default GUI text editor instead of Gedit and after using it for long enough, we know exactly why. Xed is for programmers who love their text editors to be very flexible.

Linux mint已采用Xed代替Gedit作为默认的GUI文本编辑器,并且使用了足够长的时间之后,我们确切地知道了为什么。 Xed适用于喜欢其文本编辑器的程序员,它们非常灵活。

Apart from that, it’s also an X-app. You can go ahead and install Xed on your system with the following commands:

除此之外,它还是一个X应用程序。 您可以继续使用以下命令在系统上安装Xed:


sudo add-apt-repository ppa:embrosyn/xapps
sudo apt install xed

5. Gamma文本编辑器–最佳轻量级GUI编辑器 (5. Gamma Text Editor – Best Lightweight GUI Editor)

Gamma Text Editor
Gamma Text Editor
Gamma文字编辑器

We used it, and we loved it. Every single element of the editor is customizable, just like it is for VIM. The difference is, Gamma is complete GUI editor.

我们使用它,并且喜欢它。 编辑器的每个元素都是可自定义的,就像VIM一样。 区别在于,Gamma是完整的GUI编辑器。

It’s very lightweight on resources and doesn’t hog memory like some of the more powerful GUI text editors do. Gamma Text editor allows you to enjoy a very powerful editor even on a low powered machine.

它在资源上非常轻巧,不会像某些更强大的GUI文本编辑器那样占用内存。 Gamma文本编辑器使您即使在低功率机器上也可以享受功能非常强大的编辑器。

For Python lovers, Gamma is built entirely in Python. The packages for this editor may not be available for your distribution. So this installation method will be common for all the distributions.

对于Python爱好者,Gamma完全用Python构建。 该编辑器的软件包可能不适用于您的分发。 因此,此安装方法对于所有发行版都是通用的。


git clone https://gitlab.com/hamadmarri/gamma-text-editor
cd gamma-text-editor 
chmod +x setup.sh
./setup.sh

6. Gedit –最佳的简化和功能强大的编辑器 (6. Gedit – Best simplistic and powerful editor)

Gedit Screen
Gedit Screen
Gedit屏幕

When people are new to text editors in Linux they often look for something simple to understand, yet having a powerful functionality, which they can benefit from once they are familiar with the editor. This is the domain where Gedit appeals a large chunk of its audience.

当人们不熟悉Linux中的文本编辑器时,他们通常会寻求简单易懂但功能强大的功能,一旦熟悉编辑器,他们便会从中受益。 这是Gedit吸引大量受众的领域。

Developed under the GNU General Public License, it was initially released to the public in 2000. The Gedit text editor offers a wide range of features while having a simple to use GUI interface.

它是根据GNU通用公共许可证开发的,最初于2000年向公众发布。Gedit文本编辑器提供了广泛的功能,同时具有易于使用的GUI界面。

When you choose Gedit, you get support for UTF-8 characters, remote editing, syntax highlighting with customization, configurable font properties, file reverting, search and replace option, and clipboard support. 

选择Gedit时,您将支持UTF-8字符,远程编辑,具有自定义功能的语法高亮显示,可配置的字体属性,文件还原,搜索和替换选项以及剪贴板支持。

If you need a lightweight text editor with high plugin support and a wide range of powerful features, Gedit is the text editor for you. While it is a basic and easy to understand editor on the surface, its functionality makes Gedit a fairly competent editor.

如果您需要具有高插件支持和广泛功能的轻量级文本编辑器,则Gedit是适合您的文本编辑器。 尽管它是表面上的基本且易于理解的编辑器,但其功能使Gedit成为了称职的编辑器。

You can install GEdit with the following command:

您可以使用以下命令安装GEdit:


sudo apt install gedit

7. Nano –命令行初学者的最佳编辑器 ( 7. Nano – Best Editor for the Command Line Beginner )

Nano Text Editor 1
Nano Text Editor
纳米文字编辑器

You have text editors that are designed for basic usage. You have text editors designed for advanced users. But what about a text editor that is designed for the user, not the usage? This is where Nano comes into the picture. Nano is a text editor that is known for its user-friendly command-line design.

您有文本编辑器 设计用于基本用途。 您具有专为高级用户设计的文本编辑器。 但是为用户而不是用法设计的文本编辑器呢? 这是Nano出现的地方。 Nano是一种文本编辑器,以其用户友好的命令行设计而闻名。

It is easy to learn and use for beginners, while fairly keeping up with the requirements of an advanced user. Developed under the GNU General Public License, Nano was first launched in 2000. It soon spread among the public due to its simplistic and easy to grasp interface.

对于初学者来说,它很容易学习和使用,同时完全可以满足高级用户的要求。 Nano是在GNU通用公共许可证下开发的,于2000年首次发布。由于其简单易用的界面,它很快在公众中传播。

Nano offers features such as automatic indentation, interactive find-and-replace function, soft text wrapping, and case-sensitive searching.

Nano提供的功能包括自动缩进,交互式查找和替换功能,软文本换行以及区分大小写的搜索。

Nano works only as a command-line utility. It is great for users who need a simple text editor while working with the command line. Nano is easy to use even though it’s a command-line editor. Unlike VIM, it allows you to work with it in the same way as you’d with a GUI text editor.

Nano仅用作命令行实用程序。 对于在使用命令行时需要简单的文本编辑器的用户来说非常有用。 即使Nano是命令行编辑器,它也易于使用。 与VIM不同,它允许您以与使用GUI文本编辑器相同的方式来使用它。

You can install Nano with the following command:

您可以使用以下命令安装Nano:


sudo apt install nano

最后… (Finally…)

With a large number of text editors available in the market for Linux users, it is often tough to choose the one for you. This was our pick of the best text editors available for you. Did you find your ideal text editor? Did we miss your preferred choice? Let us know in the comments below.

市场上有大量针对Linux用户的文本编辑器,通常很难为您选择一个。 这是我们为您选择的最佳文本编辑器。 您找到理想的文本编辑器了吗? 我们错过了您的首选吗? 在下面的评论中让我们知道。

翻译自: https://www.journaldev.com/41292/top-best-text-editors-linux

linux 文本编辑器

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/142732.html原文链接:https://javaforall.cn

【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛

【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...

(0)
blank

相关推荐

  • FM &FFM:深入理解FM与FFM「建议收藏」

    FM &FFM:深入理解FM与FFM「建议收藏」0.引言针对类别变量进行oner-hot编码后的高维稀疏矩阵M,可以表示如下:可以看出,经过One-Hot编码之后,大部分样本数据特征是比较稀疏的,One-Hot编码的另一个特点就是导致特征空间大。例如,电影品类有550维特征,一个categorical特征转换为550维数值特征,特征空间剧增。同时通过观察大量的样本数据可以发现,某些特征经过关联之后,与label之间的相关…

  • RPC是什么? (学习笔记)

    RPC是什么? (学习笔记)什么是RPC?RPC全称RemoteProcedureCall,即远程过程调用,就是要像调用本地的函数一样去调远程函数,屏蔽远程调用的复杂性。为什么需要RPC?微服务、分布式应用的开发越来越

  • java的反射机制带来的好处_线程安全与线程不安全

    java的反射机制带来的好处_线程安全与线程不安全什么是反射Java的反射(reflection)机制是指在程序的运行状态中,可以构造任意一个类的对象,可以了解任意一个对象所属的类,可以了解任意一个类的成员变量和方法,可以调用任意一个对象的属性和方法jdbc(数据库连接技术)在加载驱动时运用到了反射技术例如:实例化对象第一种:Personp=newPerson()虚拟机在执行的时候已经确切知道要实例化哪个类的对象第二种:反射:虚拟机在实例化对象的时候,可以事先不知道要实例化哪个类的对象,传参的时候虚拟机根据参数确定要实例化哪个类的

  • java简易小游戏[通俗易懂]

    java简易小游戏[通俗易懂]java简易小游戏制作游戏思路:设置人物移动,游戏规则,积分系统,随机移动的怪物,游戏胜负判定,定时器。游戏内容部分package代码部分;importjavax.swing.*;importjava.awt.*;importjava.awt.event.ActionEvent;importjava.awt.event.ActionListener;importjava.awt.event.KeyEvent;importjava.awt.event.KeyListener;

  • dell T420热插拔安装过程

    dell T420热插拔安装过程

  • kettle中实现动态SQL查询

    kettle中实现动态SQL查询详细说明kettle中两者方式实现动态查询,分别是占位符和变量方式,示例使用H2数据库,方便学习。

发表回复

您的电子邮箱地址不会被公开。

关注全栈程序员社区公众号