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

vimode: Enable '.' to also repeat last inserted text #1102

Merged
merged 2 commits into from
Sep 29, 2021

Conversation

techee
Copy link
Member

@techee techee commented Aug 31, 2021

Currently, '.' only repeats the last command inserted in the command mode
and doesn't repeat text inserted in the (just exited) insert mode which
vim does.

Since we already support commands like

10iwrite_text_to_be_repeated_10_times

we can reuse the code also for the '.' command.

Fixes #1011

Currently, '.' only repeats the last command inserted in the command mode
and doesn't repeat text inserted in the (just exited) insert mode which
vim does.

Since we already support commands like

10iwrite_text_to_be_repeated_10_times<esc>

we can reuse the code also for the '.' command.
This should be more than enough for manually inserted text and a reasonable
amount for pasted text.
@frlan frlan merged commit 00c2a03 into geany:master Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: vimode plugin add period for "repeat last" vi command
2 participants