Difference between Viper, Vimpulse and Evil for Emacs?

随声附和 提交于 2019-11-29 02:07:08

问题


I have recently started using Emacs after using Vim for a long time now (like many others out there), and I personally feel that Vim movement keys and text objects are one of the best things an editor can have. I heard about emulating these features in Emacs using the different plugins, but after reading a bit more on the internet, I'm confused.

I have come across three modes specially: Viper, Vimpulse, and Evil. Can someone please help me out with understanding how to use these modes to achieve a near perfect Vim emulation? Do I need to install all three of them? What is the difference between them? Thanks.


回答1:


Simply put:

  • Viper: Basic Vi emulation mode offered by Emacs; in-built and comes bundled with Emacs
  • Vimpulse: Adds on to the Viper mode but offering advanced features like visual selection and text objects
  • Evil: A completely new Vim emulation mode for Emacs and is said to be the successor of both Viper and Vimpulse mode. This mode is said to be much better than both the above combined and users report facing lesser problems with this. Recommended going forward.

The instructions to install Evil can be found here. Good luck!



来源:https://stackoverflow.com/questions/14291260/difference-between-viper-vimpulse-and-evil-for-emacs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!