When vim records a macro, can it record the time?
天蓬老师
天蓬老师 2017-05-16 16:41:01
0
3
732

When vim records a macro, can it record the time?
That is, I want to add the time factor, for example, I want to play the macro once every 1 second

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(3)
某草草

Let me give you a clever answer,
If the subject's pause time is not many times, there is a method that can be used:
qa starts recording
xxxxx A series of operations need to be recorded and stopped for 1 second. What should I do? See below
:silent sleep 1 You should understand after seeing this. If it doesn’t work, test this command. After typing, remember to press Enter twice to return to vim
xxxx A series of next operations
q End recording macro

10@a Well, did you see the results you wanted?

刘奇

You need to use software like "Key Wizard" to implement this. Vim's "record" is just a simple "record"

大家讲道理

It seems that this function is not available. I tried it and even though the operation paused for a while, VIM finally stopped the pause time. Let’s use other tools

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template