<p>Currently, '.' only repeats the last command inserted in the command mode<br>
and doesn't repeat text inserted in the (just exited) insert mode which<br>
vim does.</p>
<p>Since we already support commands like</p>
<p>10iwrite_text_to_be_repeated_10_times</p>
<p>we can reuse the code also for the '.' command.</p>
<p><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #1011.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="711446811" data-permission-text="Title is private" data-url="https://github.com/geany/geany-plugins/issues/1011" data-hovercard-type="issue" data-hovercard-url="/geany/geany-plugins/issues/1011/hovercard" href="https://github.com/geany/geany-plugins/issues/1011">#1011</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany-plugins/pull/1102'>https://github.com/geany/geany-plugins/pull/1102</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>vimode: Enable '.' to also repeat last inserted text</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/1102/files#diff-34066c45b9c50afd85870b2a1eaf06df2531aa3dda19ac94bb099212566ee24d">vimode/src/cmd-runner.c</a>
    (23)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany-plugins/pull/1102/files#diff-ba50263aa81a9e06bea849649e4c563700ec25f2861c02ee7ae43e477e2770d6">vimode/src/vi.c</a>
    (6)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany-plugins/pull/1102.patch'>https://github.com/geany/geany-plugins/pull/1102.patch</a></li>
  <li><a href='https://github.com/geany/geany-plugins/pull/1102.diff'>https://github.com/geany/geany-plugins/pull/1102.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/pull/1102">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ56H5NORNKRMMJ4YC3T7SVHDANCNFSM5DDZN5EA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAIOWJ4ORO4AH2RO4XWAH63T7SVHDA5CNFSM5DDZN5EKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4OVCCUIQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-plugins/pull/1102",
"url": "https://github.com/geany/geany-plugins/pull/1102",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>