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
带插件的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
原子编辑器

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
崇高文字

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编辑器

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文字编辑器

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屏幕

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
纳米文字编辑器

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 文本编辑器

linux 文本编辑器_Linux排名前7位的最佳文本编辑器相关推荐

  1. 2011年排名前七位的Linux操作系统。

    下面列出了2011年排名前七位的Linux操作系统. Ubuntu Ubuntu 是一个由全球化的专业开发团队建造的操作系统.它包含了所有您需要的应用程序:浏览器.Office 套件.多媒体程序.即时 ...

  2. 网络监控工具 开源_排名前5位的开源网络监控工具

    网络监控工具 开源 维持活动的网络是系统管理员最重要的任务之一,并且对连接的系统保持警惕对于保持网络的最佳状态至关重要. 有许多不同的方法可以使标签保持在现代网络上. 网络监视工具专门用于监视网络流量 ...

  3. 开源项目管理软件排名_2014年排名前5位的开源项目管理工具

    开源项目管理软件排名 去年,Opensource.com涵盖了一些流行的开源项目管理工具(ProjectLibre,] project-open [和OpenProject.)我们发现这些文章对我们的 ...

  4. python库排行榜_排名前6位的Python NLP库的比较

    排名前6位的Python NLP库的比较 今天,自然语言处理(NLP)变得非常流行,在深度学习发展的背景下,自然语言处理(NLP)变得尤其引人注目.NLP是人工智能领域,旨在理解和提取文本中的重要信息 ...

  5. 如何用DAX实现查看每个月中不同类别排名前一位,以及一个简单的svg案例

    现在给大家带来的是如何用DAX实现查看每个月中不同类别的排名前一位,最终完成效果如下!!! 首先我们需要两张简单的表 基数表 和类别表 当我们创建好表之后,我们再创建一个表格,然后我们将类别表里的列值 ...

  6. 【SQL开发实战技巧】系列(十四):计算消费后的余额计算银行流水累计和计算各部门工资排名前三位的员工

    系列文章目录 [SQL开发实战技巧]系列(一):关于SQL不得不说的那些事 [SQL开发实战技巧]系列(二):简单单表查询 [SQL开发实战技巧]系列(三):SQL排序的那些事 [SQL开发实战技巧] ...

  7. 谁在消费国际顶级奢侈品牌?中国城市国际顶级品牌指数排名前30位榜单 | 美通社头条...

    美通社消息,2022年,全球个人奢侈品市场规模达到了2000年的3倍.其中,中国发展带来的红利尤为突出.2019年,中国在全球个人奢侈品市场的占比达到33%,新冠疫情期间中国份额虽然有所下降,但预计到 ...

  8. 闲谈 | 国内AI排名前 8 位的大学,顶起!

    本文来源:北京高考资讯 近日,人工智能专业作为战略新兴产业受到关注,本文整理了目前人工智能全国排名前八的大学,供家长.考生了解. 中国科学院大学 中国科学院的自动化研究所在人工智能领域的研究实力非常强 ...

  9. 数据分析2021年最实用工具排名前6位出炉

    对于数据分析工具,我们通过会有一个疑问,在众多的数据分析工具中,到底有什么区别,哪一个更好,我又应该学习哪一个呢? 虽然这是一个老生常谈的问题了,但它却是非常重要,我也一直在努力寻找最终的答案.如果你 ...

最新文章

  1. WindowsXP中修改本地路由表
  2. English trip V1 - 22. My Life Teacher:Emily Key: describe talk about past 过去式
  3. redis分布式锁实现原理_redis分布式锁实现分析与实践
  4. 一文带你了解MySQL基础
  5. 【转】应用架构一团糟?如何将单体应用改造为微服务
  6. SQLServer书写规范梳理
  7. UDT源码剖析(四):UDT的GC线程相关过程代码注释
  8. c++ 表达式必须包含指向类的指针类型_C++:18const关键字(附常量指针、指针常量、常量指针常量)...
  9. Swift编码总结8
  10. 使用macOS自带convert,sips命令快速处理图片及转换图片格式
  11. day 67 django 之ORM 增删改查基础
  12. YAML_15 include and roles
  13. 引入css外部样式表的注意事项
  14. eclipse14配置tomcat Server Locations
  15. Android layout优化
  16. C4D学习笔记1-动画-动画关键帧
  17. 更新appid失败,登录用户不是该小程序的开发者
  18. gdb reading symbols xxxx 段错误
  19. ultraedit编译java_在UltraEdit中编译和运行Java程序
  20. Linux中/dev/ram是什么?

热门文章

  1. Yimin Xiao
  2. 汽车品牌和型号的简单认识
  3. springboot集成layui框架程序示例
  4. 十 Node.js实现微信小程序支付功能
  5. 常见的作业调度和进程调度算法
  6. 2020机械员-通用基础(机械员)证考试及机械员-通用基础(机械员)模拟考试题库
  7. 《虹口区促进元宇宙产业发展的试行办法》的通知
  8. 通过CFA一级有用吗?是什么水平?
  9. 韩顺平MySQL万字笔记
  10. wincc的画面怎么用博图打开_博图v15与Wincc该如何进行仿真?