cute-jumper / evil-embrace.el

Evil integration of embrace.el
50 stars 5 forks source link

+TITLE: evil-embrace

[[https://melpa.org/#/evil-embrace][file:https://melpa.org/packages/evil-embrace-badge.svg]]

Evil integration of [[https://github.com/cute-jumper/embrace.el][embrace.el]].

The idea of this package is that let =evil-surround= handle the keys that corresponds to existing text objects (i.e., =(=, =[=, etc.), which is what =evil-surround= is good at, and make =embrace= handles all the other keys of custom surrounding pairs so that you can also benefit from the extensibility that =embrace= offers.

In a word, you can use the default =evil-surround=. But whenever you want to add a custom surrounding pair, use =embrace= instead. To see how to add a custom pair in =embrace=, look at the README of [[https://github.com/cute-jumper/embrace.el][embrace.el]].