zet

Create a Persistent Macro in Vim

I’ve been told that all it takes is to add a macro that doesn’t get lost then you go to another machine is to put something like the following in your .vimrc

let @q = '<paste marco register here>'

See Also

Random Reddit Entry