How to generate random numbers in the buffer?

Viewed 6719

I want to generate 10 random numbers in the buffer.

In Emacs I would do:

<start macro>(random limit) <eval lisp><newline><end macro> to define the macro,

and 9 <execute macro> to generate it 10 times.

Is there a way I can do this in vim?

2 Answers
Related