Vim - 文本编辑器 Vi vs Vim

你是否应该在学习 Vim 之前先学习 Vi,这完全取决于您自己、您的要求以及您的具体目标和需求。Vim 是 Vi 的扩展、增强和改进版本,它包括 Vi 的所有功能以及许多附加功能。

简约: Vi 设计简约。先学习 Vi 可以让你对基础知识有扎实的了解,以后过渡到 Vim 时也会更容易。

高效的工作流程: 如果你的主要目标是使用 Vim 强大而先进的文本处理功能,那么最好直接从 Vim 开始学习。

Whether you should learn Vi before Vim depends entirely on you, your requirements, and your specific goals and needs. Vim is an extended, enhanced, and improved version of Vi, and it includes all the functionality of Vi along with many additional features.

Minimalism: Vi has a minimalistic design. Learning Vi first can give you a solid understanding of the basics and may make it easier to transition to Vim later.

Efficient Workflow: If your primary goal is to use the powerful and advanced text-manipulation capabilities of Vim then it would be better to start with Vim directly.

Vi(可视化编辑器)

Vi 是 "可视化编辑器 "的简称,是 Unix 类操作系统中广泛使用的文本编辑器。它由 Bill Joy 于 20 世纪 70 年代末开发。它以强大的文本处理能力而广为人知。

特点

* Vi 是一个模式文本编辑器,即它有不同的模式用于不同的任务

* 设计简约。

* 轻便且功能强大。

* Vi 提供强大的键盘快捷键。

* Vi 适用于所有类 Unix 系统。

Vi (Visual Editor)

Vi, short for "Visual Editor," is a widely used text editor in Unix-like operating systems. It was developed by Bill Joy in the late 1970s. It is widely known for its powerful text manipulation capabilities.

Features

* Vi is a modal text editor, that is it has different modes for different tasks

* It has a minimalistic design.

* Lightweight and powerful.

* Vi provides powerful keyboard shortcuts.

* Vi is available on all Unix-like systems.

Vim(Vi IMproved)

Vim 是 "Vi IMproved "的缩写,是 Vi 文本编辑器的增强、改进和扩展版本。Vim 由 Bram Moolenaar 于 20 世纪 90 年代初开发,在 Vi 的基础上增加了许多功能和改进。它是 Vi 编辑器的一个功能更丰富的升级版本。它包含了 Vi 的所有功能,同时还增加了其他功能。

功能特点

* Vim 具有 Vi 的所有功能,同时增加了许多增强功能和特性。

* 包括语法高亮

* 允许使用正则表达式进行搜索和替换。

* 支持通过插件和脚本进行广泛的自定义。

* 拥有一个活跃而专注的用户社区。

* 可用于各种平台,包括 Unix-like 系统、Linux、Windows 和 macOS。

Vim (Vi IMproved)

Vim, short for "Vi IMproved," is an enhanced, improved, and extended version of the Vi text editor. Developed by Bram Moolenaar in the early 1990s, Vim builds upon the foundation of Vi while adding numerous features and improvements. It is a more feature-rich and upgraded version of the Vi editor. It includes all the features of Vi but also adds additional features as well.

Features

* Vim has all the functionality of Vi while adding numerous enhancements and features.

* It includes syntax highlighting.

* Allows search and replace with regular expressions.

* Has support for extensive customization through plugins and scripting.

* Has an active and dedicated user community.

* It is available on various platforms, including Unix-like systems, Linux, Windows, and macOS.

|-----------------------------------------------------|-----------------------------------------------------------|
| Vi (Visual Editor) | Vim (Vi IMproved) |
| Original text editor with a minimalistic design | Enhanced version of Vi with additional features |
| Vi is a modal text editor | Vim is also a modal text editor but with additional modes |
| Does not support syntax highlighting | Supports syntax highlighting |
| Limited customization | Extensive customization |
| Does not have plugins and script support | Supports plugins and scripts |
| Discontinued and does not provide community support | Has an active and dedicated community support |
| Does not have search and replace functionality | It has search and replace functionality |

总之,Vi 是最初的文本编辑器,设计简约,注重速度和效率,而 Vim 则是 Vi 的增强版,具有更多的功能、更好的用户界面改进和增强。是否应该先学习 Vi 再学习 Vim 完全取决于个人的要求和目标。但强烈建议从 Vim 开始学习,因为它建立在 vi 编辑器的基础上,几乎提供了 vi 所提供的所有特性和功能。

In conclusion, Vi is the original text editor with a minimalistic design with a focus on speed and efficiency, while Vim is an enhanced version of Vi with additional features, better user interface improvements, and enhancements. The choice of whether one should learn Vi before Vim entirely depends upon the individual's requirements and goals. But it is highly recommended to start with Vim as it is built on top of the vi editor and provides almost all the features and functionalities that vi provides.

参考:

1,GeeksForGeeks

Vi vs. Vim: Choosing the First Right Text Editor - GeeksforGeeks

相关推荐
帷幕落秋9 分钟前
Linux 网络基础
linux
高晶17 分钟前
ARM 嵌入式 Linux 命令系统 BusyBox 实战指南
linux·设计模式·程序员
祥Sir的SRE笔记1 小时前
CPU 100% 不一定是故障:压测打满、业务饱和、突变打满的判断与排查
linux·面试·性能优化·dba·sre·故障定位·性能排查
郝亚军1 小时前
在win11上用openssl生成私钥、再从私钥导出公钥、...
linux·运维·服务器
一个风轻云淡2 小时前
从 int $0x80 到 iret:用 gdb 把 getpid 走一遍
linux·c语言·开发语言·汇编
小超人诞生日记2 小时前
Linux:环境变量 & 进程虚拟地址空间
linux·算法
handonch2 小时前
金仓 KingbaseES 时区问题根治指南:从「总是差 8 小时」到全链路统一
linux·docker·postgresql·信创
Rabitebla2 小时前
【Linux 底层原理】工具篇(一):掌握 Ubuntu apt,让软件安装与管理更简单
linux·笔记·算法·ubuntu
chde2Wang2 小时前
Hadoop集群无datanode进程
linux·运维·服务器
叼烟扛炮2 小时前
Linux 学习笔记(十八):进程控制——优雅地退出与等待
linux·运维·服务器