Questions tagged [evil-text-object]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
69 views

define a new evil command

I'm trying to reverse some words, and I have it set up where I can visually select them and hit ,rw to reverse them. How do I set it up so ,rw also works with a motion. E.g. ,rw3w to reverse 3 words? ...
Zaz's user avatar
  • 123
2 votes
1 answer
158 views

evil text objects for code object at point?

I use text objects with evil like "i(" for the contents of the brackets. I would quite like "magic code aware text objects"? This textobject would: return the entire function if I ...
Att Righ's user avatar
  • 775
1 vote
1 answer
64 views

How do I select the nearest `evil-text-object` enclosed in one of () [] {} <> without having to provide the paren char explicitly

I have problems when using the suggestion from here Code faster by extending Emacs EVIL text object (require 'dash) (defun jds~evil-paren-range (count beg end type inclusive) (->> '((?\( . ?\))...
jds's user avatar
  • 177