. operator concatenate strings.
But how to repeat a string N times, similar to
"abc" * 3 in python?
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 community
To repeat a string you want to use the (appropriately named) function
The doc is here
And you can use it like that:
let foo = repeat("abc", 3)