-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visual mode repeat #48
Comments
I've been trying to repeat a visual mode move, like this:
but I haven't been able to get it to work. Not sure if I'm doing something wrong or it's just not supported, but any help is much appreciated! |
Same here, I think. For example, when editing an example HTML file:
That should result in placing the 2 words following the cursor in bold tags like they did the other 2 words. But unfortunately it repeats an action unrelated to the plugin. |
Looks like somebody made a plug-in for this, although I haven't tried it: http://www.vim.org/scripts/script.php?script_id=3848 |
This reverts commit 96580a5. In that commit I wrote: I can't remember if I've tried this before. and now I know that I must have and the thing that drove me up the wall then was that "." no longer works. IIRC I tried to get repeat.vim to make this work, but it doesn't. In fact, a little digging links me back to this 2015 issue, filed by me: tpope/vim-repeat#48
I was trying to make these mappings repeatable:
My initial stab at this was:
Alas, entering command mode in order to invoke
repeat#set
knocks us out of visual mode, undoing the desired effect of thegv
.I tried a number of different hacky workarounds in an attempt to get this to work, but without success.
Does this seem like something that should be possible with vim-repeat?
The text was updated successfully, but these errors were encountered: