Today, I learnt a bit of vim normal command, and below is my experiment:
:normal i Insert ^[ yyp
:normal A Append ^[ yyp
# RESULT OF EXECUTE FIRST COMMAND FOR SEVERAL TIMES
Insert Insert
Insert Insert Insert
Insert Insert Insert Insert
Insert Insert Insert Insert Insert
Insert Insert Insert Insert Insert
# RESULT OF EXECUTE SECOND COMMAND FOR SEVERAL TIMES
Append Append Append Append Append Append
Why the second command ignored the yyp part? How to fix it?
只需删除^ [和yyp之间的空格
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.