Vim number ranges - lmmx/devnotes GitHub Wiki

Number ranges can be inserted with put (via)

:put =range(11,15)

A specific line can be specified by calling the append function:

:call append(123, range(11,15))

It’s probably possible to append a range of numbers to the end of pre-existing lines using regular expressions or a let incrementing command, but more complex