Has anyone got vim repeat
by tpope working with the mappings?
I would love to be able to do ,ee
to eval a form, then move to a new form and simply do .
to repeat the eval.
I think it can be done
needs this setting silent! call repeat#set("\<Plug>MyWonderfulMap", v:count)
with the Plug being replace with the suitable command
Hmm, I don't think Conjure exposes <Plug>commands?
It works!
So, you can do this silent! call repeat#set(",ee", v:count)
and if you type in ,ee
then move to another form and simply press .
, it will invoke ,ee
for you!
already 66% more efficient!
You can more... silent! call repeat#set(",ece", v:count)
and so on...
Hey @olical how about putting these into the build of Conjure so they are mapped automatically to repeat? Some other plugins do that on behalf of the user 🙂
<https://github.com/tpope/vim-repeat>
The following plugins support repeat.vim:...
Ohhh nice!
I didn't realise there was integration work for it, but I'm happy to since it won't be too hard from my perspective (I think?)
I'll raise an issue on github
That'll be great! Thank you!
Hopefully I get some OSS time this weekend
silent! call repeat#set(",ee", v:count)
silent! call repeat#set(",ece", v:count)
silent! call repeat#set(",er", v:count)
silent! call repeat#set(",ecr", v:count)
silent! call repeat#set(",ew", v:count)
silent! call repeat#set(",ewc", v:count)
silent! call repeat#set(",eb", v:count)
silent! call repeat#set(",gd", v:count)
🙂
Nice! I'll hook that up for you automatically asap
w00t. no hurry