-
-
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
please add a concrete example #55
Comments
I agree with jabbalaci. It's not at all clear how to use this plugin. I thought you could execute a plugin command, move to another position in your file, hit ".", and the command would repeat itself. Clearly that's not the case as you still need to create a custom mapping for this to work. |
I also agree with the above. Just tried to integration But yeah, having a couple simple examples would make adoption more doable. Here's my gist of what I've learned today: Let's say originally we had a mapping like this one:
Adding
This example makes use of the second variable being |
By reading the README it was not clear to me how to use this plugin. Using this screencast (http://vimcasts.org/episodes/creating-repeatable-mappings-with-repeat-vim/) I managed to figure out how it works. Here is a concrete example, I think it would be a good idea to add it (or something similar) to the README:
before
It surrounds the current word (manual solution).
after
Now it's repeatable with the "
.
" command.The text was updated successfully, but these errors were encountered: