How to repeat text in vim
Date: 2018-11-19Last modified: 2024-06-09
To repeat things in vim use this basic command structure:
<esc>Nic<esc><esc>
<esc>Niw<esc><esc>
where:
N
: the number of repetitionsi
: the insert commandc
: a characterw
: a word
<esc>70i=<esc><esc>
======================================================================
<esc>5iabc 123<esc><esc>
abc 123abc 123abc 123abc 123abc 123