[vim ] 宏SUB后继续执行?

楼主: ggirls (哥)   2020-11-23 07:22:10
hi, how are you.
我想要取代后
:s/hi/hello/ge
再执行
IMary,
结果想要 Mary, hello, how are you.
所以我写成
let @a=":s/hi/hello<Enter>IMary,"
结果错误E488: Trailing characters
要怎么串连这两各动作呢?

Links booklink

Contact Us: admin [ a t ] ucptt.com