Add exato (x/html attribute text objects for evil)
Bound to x
This commit is contained in:
parent
7f79eb4579
commit
615735a404
3 changed files with 5 additions and 0 deletions
|
@ -182,6 +182,7 @@
|
||||||
|
|
||||||
;; evil
|
;; evil
|
||||||
(:after evil
|
(:after evil
|
||||||
|
:textobj "x" #'evil-inner-xml-attr #'evil-outer-xml-attr
|
||||||
:textobj "a" #'evil-inner-arg #'evil-outer-arg
|
:textobj "a" #'evil-inner-arg #'evil-outer-arg
|
||||||
:textobj "B" #'evil-textobj-anyblock-inner-block #'evil-textobj-anyblock-a-block
|
:textobj "B" #'evil-textobj-anyblock-inner-block #'evil-textobj-anyblock-a-block
|
||||||
:textobj "i" #'evil-indent-plus-i-indent #'evil-indent-plus-a-indent
|
:textobj "i" #'evil-indent-plus-i-indent #'evil-indent-plus-a-indent
|
||||||
|
|
|
@ -407,6 +407,9 @@ the new algorithm is confusing, like in python or ruby."
|
||||||
(push "<" evil-args-openers)
|
(push "<" evil-args-openers)
|
||||||
(push ">" evil-args-closers)))
|
(push ">" evil-args-closers)))
|
||||||
|
|
||||||
|
(def-package! exato
|
||||||
|
:commands (evil-outer-xml-attr evil-inner-xml-attr))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;; Multiple cursors compatibility (for the plugins that use it)
|
;; Multiple cursors compatibility (for the plugins that use it)
|
||||||
|
|
|
@ -27,3 +27,4 @@
|
||||||
(package! evil-surround)
|
(package! evil-surround)
|
||||||
(package! evil-vimish-fold)
|
(package! evil-vimish-fold)
|
||||||
(package! evil-visualstar)
|
(package! evil-visualstar)
|
||||||
|
(package! exato)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue