Patrick J. Holt
Patrick J. Holt

Reputation: 696

How to set permanent macro in VScode vim?

I want to set permanent macros in VScode vim, but as soon as my mac restarts, the previous macro will be clear. Though I can set permanent macros in terminal vim and it is valid after my mac restarts, I also want to know if VScode vim can support this function because I take VScode as my main vim editor.

Upvotes: 6

Views: 3765

Answers (1)

kohane15
kohane15

Reputation: 852

saving macros #2380

At this point I don't think this feature is available; but there are workarounds mentioned in the issue. Also:

@fredyonge In the next version you'll be able to save registers across sessions, but there are still some major issues that need to be figured out before it'll work for macros as well.

Upvotes: 3

Related Questions