Our great sponsors
-
vim-indent-object
Vim plugin that defines a new text object representing lines of code at the same indent level. Useful for python/vim scripts, etc.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
/u/Desperate_Place485, I think https://github.com/nelstrom/vim-textobj-rubyblock should have just what you're looking for.
This isn't exactly what you're looking for, but assuming you've indented everything between do and end, you can use the vim indent object plugin (https://github.com/michaeljsmith/vim-indent-object), then do something like yii, or dii to do it inside the indent.
Also check this out: https://github.com/kana/vim-textobj-function
and another one: https://github.com/andyl/vim-textobj-elixir