Emacs 和 Vim 的区别 [英] Differences between Emacs and Vim

查看:23
本文介绍了Emacs 和 Vim 的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

没有陷入关于为什么一个比另一个更好的宗教争论,Emacs 和 Vim 之间的实际区别是什么?我想学习其中一个,但我意识到每个人的学习曲线都很高,我无法决定.我从未使用过这种类型的编辑器(我一直使用 IDE),所以任何对新手有帮助的都是加分项.

Without getting into a religious argument about why one is better than the other, what are the practical differences between Emacs and Vim? I'm looking to learn one or the other, but I realize the learning curve for each is high and I can't decide. I have never used an editor of this type (I've always used IDEs), so anything that helps a newbie is a plus.

在火焰战争开始之前:我不是在问哪个更好,而是在问两者之间的区别.我想要一个客观比较.

Before a flame war starts: I'm not asking which is better, I'm asking the differences between the two. I would like an objective comparison.

推荐答案

(以下文字是我的观点,不应视为事实或侮辱)

使用 Emacs,您应该让它 24/7 全天候开放并在程序中运行,几乎您所做的一切都可以从那里完成.您编写自己的扩展,将其用于记笔记、组织、游戏、编程、外壳访问、文件访问、听音乐、网页浏览.这需要数周和数周,直到您对它感到满意为止,然后您将一直学习新东西.当您无法访问它并不断更改配置时,您会很生气.您将无法轻松使用其他人的 emacs 版本,并且它不会被安装.它使用 Lisp,这很棒.你可以把它做成任何你想要的样子.(什么都可以)

With Emacs you are expected to have it open 24/7 and live inside the program, almost everything you do can be done from there. You write your own extensions, use it for note-taking, organization, games, programming, shell access, file access, listening to music, web browsing. It takes weeks and weeks till you will be happy with it and then you will learn new stuff all the time. You will be annoyed when you don't have access to it and constantly change your config. You won't be able to use other peoples emacs versions easily and it won't just be installed. It uses Lisp, which is great. You can make it into anything you want it to be. (anything, at all)

对于 Vim,它几乎总是预先安装的.它很快.你打开一个文件做一个快速编辑然后退出.如果您在其他人的机器上,您可以使用基本设置.它不是那么可编辑,但它仍然比大多数文本编辑器好得多.它识别出您大部分时间是在阅读/编辑而不是打字,并使该部分更快.您不会受到emacs小指的困扰.这不是那么令人气愤.学习起来更容易.

With Vim, it's almost always pre-installed. It's fast. You open up a file do a quick edit and then quit. You can work with the basic setup if you are on someone else's machine. It's not quite so editable, but it's still far better than most text editors. It recognizes that most of the time you are reading/editing not typing and makes that portion faster. You don't suffer from emacs pinkie. It's not so infuriating. It's easier to learn.

尽管我每天整天都在使用 Emacs(并且喜欢它),除非你打算在你选择的程序上花很多时间我会选择 vim

这篇关于Emacs 和 Vim 的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆