TextObjectify icon indicating copy to clipboard operation
TextObjectify copied to clipboard

Breaks repeat

Open dag opened this issue 12 years ago • 7 comments

Say I have

Here's an <em>example</em> for you!

and then I do /em<CR>ciwstrong<Esc>n..

Without TextObjectify, I end up with

Here's an <strong>example</strong> for you!

which is what I want, but with TextObjectify I get

trong

That's the whole line.

dag avatar May 27 '13 20:05 dag

Sorry it took me so long to get back to you. Yep, I see that here as well. It's actually been really bugging me while I'm doing my own work. I'll see if I can fix this and the other hanging TOify issues in the near future.

I think the cleanest way to remedy this will be to utilize https://github.com/tpope/vim-repeat

paradigm avatar Jun 20 '13 03:06 paradigm

Well, I'm dumb. That last commit didn't actually fix #7, it just fixed a regression that I caused. Repeat still doesn't work. But at least there are no regressions (?) :)

justinmk avatar Aug 26 '13 21:08 justinmk

Any progress on this? This plugin got me really excited, but now I'm kinda "low" that I see there's this bug..

bruno- avatar Jun 04 '14 23:06 bruno-

@bruno- Check out targets.vim for similar functionality with working repeatability.

@paradigm Feel free to delete this comment if you don't want this kind of cross promotion.

wellle avatar Jul 02 '14 22:07 wellle

@wellle, you mentioned it in a reddit discussion a while ago. I have it installed since, working flawless - thanks a lot for building it.

bruno- avatar Jul 03 '14 07:07 bruno-

Yes, my apologies, for the time being I'd recommend targets.vim instead. While I'd love to revisit this, it doesn't look like it's going to happen in a timely manner.

paradigm avatar Sep 19 '14 22:09 paradigm

I have managed to integrate repeat.vim here. I can open a PR if needed.

ChanderG avatar Oct 02 '18 01:10 ChanderG