I need to multiply symbol "a" with a number from clipboard.
For example
3a = aaa
In clipboard register is @+
.
May be to do that throw command line mode, but don't understand how.
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
Sign up to join this communityIf the number is in the +
register, you can insert the result of a repeat()
expression by doing (from insert mode):
<c-r>=repeat('a', @+)<enter>
a
? Or a selection of edited text? Anyway have you tried:help repeat()
?