macos Mac OS X 上的 Vim 和 Emacs 的首选版本是什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1496/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-13 16:15:50  来源:igfitidea点击:

What are the preferred versions of Vim and Emacs on Mac OS X?

macosvimemacseditor

提问by Michiel de Mare

For those of us that like to use the graphical version of Vim or Emacs, instead of the console version, which version do you recommend?

对于我们这些喜欢使用 Vim 或 Emacs 图形版本而不是控制台版本的人,您推荐哪个版本?

For Vim, there's Mac OS X Vim, MacVim, Vim-Cocoa.

对于 Vim,有Mac OS X VimMacVimVim-Cocoa

For Emacs, CarbonEmacs, XEmacs, and Aquamacs.

对于 Emacs、CarbonEmacsXEmacsAquamacs

Are there more? Which of these are ready for prime-time? If it's a tough call, what are the trade-offs? Are all of these still being maintained?

还有更多吗?其中哪些已准备好迎接黄金时段?如果这是一个艰难的决定,有什么权衡?所有这些都还在维护吗?

No discussion of Vim versus Emacs, if you don't mind, or comparisons with other editors.

如果您不介意,不讨论 Vim 与 Emacs,也不会与其他编辑器进行比较。

采纳答案by Brendan

MacVimworks well and certainly looks more mature than Vim-Cocoa, moreover there is a Cocoa plugin architecture in the pipeline for MacVim (and someone is already working on a TextMate style file browser tray plugin which is a huge ++ IMHO).

MacVim运行良好,当然看起来比 Vim-Cocoa 更成熟,而且 MacVim 的管道中有一个 Cocoa 插件架构(有人已经在开发 TextMate 样式的文件浏览器托盘插件,这是一个巨大的 ++ 恕我直言)。

There was also a Carbon version of Vim, but this didn't offer a great deal over the Terminal version. i.e. only allowed one window open, not very OSX in appearance...

Vim 也有一个 Carbon 版本,但与终端版本相比,这并没有提供太多的功能。即只允许打开一个窗口,在外观上不是很 OSX...

Aquamacsis very usable and looks pretty good. Supports both traditional Mac OS style keyboard shortcuts (command-O, command-S) and the Control/Meta shortcuts for those raised on traditional Emacs. It is definitely more Mac-like than Carbon Emacs. It seems stable and fast, but I am not an Emacs guru so I don't stress it all that much when I use it. I can't speak to the extensiveness of the included elisp packages, either.

Aquamacs非常好用,看起来也不错。支持传统 Mac OS 风格的键盘快捷键(command-O、command-S)和 Control/Meta 快捷键,适用于在传统 Emacs 上提出的快捷键。它绝对比 Carbon Emacs 更像 Mac。它看起来稳定且快速,但我不是 Emacs 专家,所以我在使用它时并没有那么强调它。我也不能谈论包含的 elisp 包的广泛性。

Someone syncs Carbon Emacs with the upstream tree quarterly I think. Aquamacs has a more irregular schedule, but it's seen some pretty major updates over the last year.

我认为有人每季度将 Carbon Emacs 与上游树同步。Aquamacs 的日程安排更加不规则,但在过去一年中看到了一些非常重要的更新。

GNU Emacsfor OSX can be found at emacsformacosx.com. In addition to the latest stable release, there are also pre-release test builds and nightly builds, and Atom feeds are provided for tracking all three release types.

可以在emacsformacosx.com上找到用于 OSX 的GNU Emacs。除了最新的稳定版本,还有预发布测试版本和夜间版本,并且提供了 Atom 提要来跟踪所有三种版本类型。

回答by jaredg

I've tried Aquamacs and it's very usable and looks pretty good. Supports both traditional Mac OS style keyboard shortcuts (command-O, command-S) and the Control/Meta shortcuts for those raised on traditional Emacs. It is definitely more Mac-like than Carbon Emacs. It seems stable and fast, but I am not an Emacs guru so I don't stress it all that much when I use it. I can't speak to the extensiveness of the included elisp packages, either.

我试过 Aquamacs,它非常好用,看起来也不错。支持传统 Mac OS 风格的键盘快捷键(command-O、command-S)和 Control/Meta 快捷键,适用于在传统 Emacs 上提出的快捷键。它绝对比 Carbon Emacs 更像 Mac。它看起来稳定且快速,但我不是 Emacs 专家,所以我在使用它时并没有那么强调它。我也不能谈论包含的 elisp 包的广泛性。

Someone syncs Carbon Emacs with the upstream tree quarterly I think. Aquamacs has a more irregular schedule, but it's seen some pretty major updates over the last year.

我认为有人每季度将 Carbon Emacs 与上游树同步。Aquamacs 的日程安排更加不规则,但在过去一年中看到了一些非常重要的更新。

回答by Kristopher Johnson

I just download the Emacs source from the GNU site and build it myself. I don't like too many Mac-specific features, because I want Emacs behavior to be consistent on all the platforms I use.

我只是从 GNU 站点下载 Emacs 源代码并自己构建它。我不喜欢太多 Mac 特有的功能,因为我希望 Emacs 的行为在我使用的所有平台上保持一致。

回答by robcast

I like the Nextstep-derived Emacs.app formerly at http://emacs-app.sourceforge.net/now integrated in Emacs-23 CVS (as of August 2008).

我喜欢 Nextstep 派生的 Emacs.app,以前位于http://emacs-app.sourceforge.net/现在集成在 Emacs-23 CVS 中(截至 2008 年 8 月)。

Emacs.app feels more zippy than Aquamacs to me but its just bare CVS-Emacs and doesn't come with the same amount of stuff (you have to install your own AucTeX etc.).

Emacs.app 对我来说感觉比 Aquamacs 更活泼,但它只是裸 CVS-Emacs 并且没有相同数量的东西(你必须安装你自己的 AucTeX 等)。

回答by mike511

Personally, I've been using finkto install xemacs. It requires X but I've been using xemacs for so long that I need what it has.

就个人而言,我一直在使用fink来安装xemacs。它需要 X,但我一直在使用 xemacs,所以我需要它所拥有的东西。

Additionally, I have installed gnu emacs. It's nice because it is a completely integrated mac os x application with a dock icon and everything. I find it useful when dragging a file on top of the gnu emacs icon to open it.

另外,我已经安装了gnu emacs。这很好,因为它是一个完全集成的 mac os x 应用程序,带有一个停靠栏图标和一切。我发现在 gnu emacs 图标上拖动文件以打开它时很有用。

Last, I should mention that mac os x uses the emacs keystrokes all over the place. stuff like ^A for beginning of text, ^E for end of text, ^N next line, ^P previous line, etc... These work in most text boxes throughout the OS.

最后,我应该提到 mac os x 到处都使用 emacs 按键。诸如 ^A 表示文本开头,^E 表示文本结束,^N 下一行,^P 上一行等......这些在整个操作系统的大多数文本框中都有效。

回答by mike511

I'm using MacVimon Mac OS X. It's very, very nice.

我在 Mac OS X 上使用MacVim。它非常非常好。

回答by baudtack

Of the emacsen for Mac OS X, I have to say that after the console version of 22, CarbonEmacs is the most usable. Aquamacsjust does too many non-standard, read unexpected, things with configuration. Aquamacs questions generally aren't answered in any sort of timely manner in #emacs on freenode for whatever that is worth. It seem to be held in disdain simply because it does such a terrible job of handling standard configuration options in .emacs.

在Mac OS X的emacsen中,不得不说在22的控制台版本之后,CarbonEmacs是最有用的。Aquamacs只是做了太多非标准的、意外的、带有配置的事情。Aquamacs 的问题通常不会在 freenode 上的 #emacs 中以任何形式及时回答,无论其价值如何。它似乎被蔑视,仅仅是因为它在处理 .emacs 中的标准配置选项方面做得非常糟糕。

回答by dmckee --- ex-moderator kitten

I get all my unixish/GNU support using Fink(which provides Debian-like package control) with the emacs22-carbon package which means I also get a clickable application. It does everything I expect it to do, and automagically starts using emacs extensions loaded with fink.

我使用Fink(它提供类似 Debian 的包控制)和 emacs22-carbon 包获得了所有的 unixish/GNU 支持,这意味着我还获得了一个可点击的应用程序。它完成了我期望它做的所有事情,并且自动开始使用加载了 fink 的 emacs 扩展。

Good times.

美好时光。

回答by Alotor

I use the CarbonEmacs version on the Macports progam. It installs all the dependencies with just one line:

我在 Macports 程序上使用 CarbonEmacs 版本。它只用一行就安装了所有的依赖项:

sudo port install emacs

For anyone intesrested in Macports (www.macports.org)

对于任何对 Macports 感兴趣的人 (www.macports.org)

回答by bastibe

Some time ago, I was searching for a text editor for my new Mac. Since this was some months ago, some points might have been corrected in the meantime.
I feel that Aquamacs is by far the best OSX-Emacs. However, it feels a bit too Mac-like in some areas. For example, it rather uses several windows instead of several buffers and the coloring schemes are not "normal" Emacs-style.
If you look for a more basic set, Carbon Emacs might do it as well, though you might want to add some additional packages to add PHP support or AucTeX.
Emacs.app feels broken in my oppinion. It not even opens files using drag and drop.

前段时间,我正在为我的新 Mac 寻找文本编辑器。由于这是几个月前的事情,在此期间可能已更正了一些要点。
我觉得 Aquamacs 是迄今为止最好的 OSX-Emacs。但是,在某些方面感觉有点太像 Mac 了。例如,它宁愿使用几个窗口而不是几个缓冲区,而且配色方案也不是“正常”的 Emacs 风格。
如果您寻找更基本的集合,Carbon Emacs 也可以这样做,尽管您可能想要添加一些额外的包来添加 PHP 支持或 AucTeX。
在我看来,Emacs.app 感觉很糟糕。它甚至不使用拖放打开文件。