5

Record my macro the usual way: qa ..do stuff.. q

Try to replay it 5 times but it only runs once: "5@a

How do I run it multiple times?

Opened bug report: https://youtrack.jetbrains.com/issue/VIM-1402

red888
  • 27,709
  • 55
  • 204
  • 392

3 Answers3

4

Update to accepted answer: the issue seems to be fixed.

It doesn't work with the " before macro replay though. However, the macro replay doesn't work in my normal vim with it either

At least this works for me both in vim 7.4 and in Idea 19.2 with IdeaVim 0.54:

qq button pressing... q14@q

Also, a comment in youtrack.jetbrains.com/issue/VIM-1402 shows that it seems to work for others as well.

hilipati
  • 471
  • 2
  • 8
3

I don't believe that action is supported by the plugin.

I'm not seeing a unit test in their code for this.

I scanned their bugtracker but didn't see any existing report for this behavior. It would probably be a good idea to open one up.

Jonathan.Brink
  • 23,757
  • 20
  • 73
  • 115
  • 4
    boooo how dare they not have the one thing i use! I kinda surprised, I thought everyone used this- at least heavy vim users. I just opened a bug report, thanks! https://youtrack.jetbrains.com/issue/VIM-1402 – red888 Jan 12 '18 at 21:06
0

I'm running Phpstorm 2020.1 and Ideavim 0.60, and this seems to be fixed.

Mustapha-Belkacim
  • 1,653
  • 1
  • 15
  • 19