Skip to content
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

'.' does not repeat last group action #48

Closed
alexherbo2 opened this issue Feb 3, 2014 · 3 comments
Closed

'.' does not repeat last group action #48

alexherbo2 opened this issue Feb 3, 2014 · 3 comments

Comments

@alexherbo2
Copy link
Contributor

. repeats last change.

After typing <a-a>WD, D is repeatable in ..

map global normal R <a-a>WD

After typing R, <a-a>WD should be repeatable in ..

It concerns registers as well.

@mawww
Copy link
Owner

mawww commented Feb 6, 2014

'.' does reproduce the last modification, not the preceding selection operation. A modification will be either an insertion, a deletion or a change.

@mawww mawww closed this as completed Feb 6, 2014
@alexherbo2
Copy link
Contributor Author

If you’ve ever tried using the . command after a map, you were likely
disappointed to discover it only repeated the last native command inside that
map, rather than the map as a whole. That disappointment ends today.
Tim Pope end of verse

@CosineP
Copy link

CosineP commented May 3, 2020

i'd like this for <a-.>, which seems to not relate to your objection. today i tried to map t to Lt so that i could t<a-.><a-.>, but it doesn't work because <a-.> only repeats the final t

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants