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.
Fixes #1011 You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/1102
-- Commit Summary --
* vimode: Enable '.' to also repeat last inserted text
-- File Changes --
M vimode/src/cmd-runner.c (23) M vimode/src/vi.c (6)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/1102.patch https://github.com/geany/geany-plugins/pull/1102.diff
@techee pushed 1 commit.
25291ea004e3430d1ad8947d90f552e5d40456fa vimode: increase the size of the buffer for recording insert mode text
Merged #1102 into master.
github-comments@lists.geany.org