mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Add exato (x/html attribute text objects for evil)
Bound to x
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user