What Vim features are missing in Emacs with Viper

2019-03-08 10:33发布

There are important features of Emacs which are missing in Vim, such as the comint mode, and there are no scripts/plugins which can replace them.

There are also benefits of Vim over Emacs, such as modal editing and generally better default shortcuts. However, Viper mode gets me both. Vimpulse also enables visual mode. Unfortunately, no mode can make Emacs work as fast as Vim.

So I mostly learned Vim-in-Emacs. What Vim features am I missing?

8条回答
倾城 Initia
2楼-- · 2019-03-08 11:27

Unfortunately, no mode can make Emacs work as fast as Vim.

If you mean that the emacs startup time is poor, you can cut it down dramatically by having an emacs session permanently open, and use gnuclient/emacsclient whenever you need to edit a file.

http://www.emacswiki.org/emacs/GnuClient

查看更多
smile是对你的礼貌
3楼-- · 2019-03-08 11:27

One vi feature that I miss in emacs is the . (dot) command that repeats the last edit. There is dot-mode.el which implements C-. to simulate this but it didn't always work for me (I am not proficient in elisp to figure out why).

Even viper doesn't implement this command exactly like vi does (last time I checked), and even if it does, I don't think that is enough for me to start using viper.

查看更多
登录 后发表回答