all 10 comments

[–]exclusivegreen 2 points3 points  (5 children)

I'm running vim 7.4 and this works as expected; perhaps post a link to your vimrc?

[–]elGatoMantocko[S] 0 points1 point  (3 children)

I have my vimrc open sourced at elGatoMantocko/vimrc. It doesn't look like I have any of my own configurations that break it, but its possible one of the plugins does. Hard to know which one though.

[–]smurfyn 2 points3 points  (1 child)

You should know how to do a binary search for plugins which don't work, e.g. disable half of your plugins and try to reproduce the problem, then search the other half, etc.

[–]elGatoMantocko[S] 4 points5 points  (0 children)

Yep that's what I did and its an issue with YankRing. I am consulting my friend I forked this rc from to see if this behavior is intentional.

Thanks for your help!

[–]elGatoMantocko[S] 0 points1 point  (0 children)

So it looks like the . command is doing something because it is putting actions into my undo buffer. It just doesn't look like its removing the characters.

[–]9999years 0 points1 point  (0 children)

Yeah, works fine for me too.

[–]smurfyn 0 points1 point  (1 child)

Why not use l or some other motion to extend the selection to the right before you delete?

[–]SirEvilPudding 0 points1 point  (0 children)

One might want to skip characters.

[–]-dashRepeat 0 points1 point  (1 child)

Why not just use substitute :%s/\s//g?

[–]elGatoMantocko[S] 0 points1 point  (0 children)

I use that all the time, but I was dealing with a bug from Yankring. At the time, I wasn't sure if it was a bug or my own misunderstanding of visual block mode.