Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,我可以通过键入向下跳 n 行 4j 。
4j
如何方便地重复这个?我发现.不行。
.
我不相信有任何内置功能可以重复任意动作。
如果您不介意插件, repmo似乎可以满足您的需求。它默认将向前;重复运动和向后重复运动,。
;
,
宏可能很适合这个http://www.thegeekstuff.com/2009/01/vi-and-vim-macro-tutorial-how-to-record-and-play/