Closed skeept closed 11 years ago
Repeat.vim doesn't provide any support for this, but it should be pretty easy to roll your own. Just set the last location jumped to in a global variable, and use that variable in your custom map.
Maybe I didn't explain my self well, but what I had in mind was the following:
you plugin enables "." to repeat custom actions. For example using unimpaired I can add a new line with [
Does this make sense? If your opinion is still that vim cannot do it, or your plugin cannot then please just disregard this message...
Regards, Jorge
You most certainly can accomplish this, but repeat.vim won't be any help.
OK, Thanks.
Intuitively . should be used in actions that change text. I have a map that jumps to a location based on the text of the current line. It seems to be possible to use your plugin to use . to repeat this action, but I would prefer if I could use another key, say to repeat these special operations.
Would this be possible? If yes could you show an example of how to accomplish this?
Thank you,
Jorge