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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1102

Reply via email to