Answers:
只需按A:
A Append text at the end of the line [count] times.
(来自:help A
)
您最初的尝试不起作用,因为您使用进行了EOL $,但随后使用i而不是a:
i Insert text before the cursor [count] times.
When using CTRL-O in Insert mode |i_CTRL-O| the count
is not supported.
而
a Append text after the cursor [count] times. If the
cursor is in the first column of an empty line Insert
starts there. But not when 'virtualedit' is set!
但正如我所说:真正的解决方案是A。