Quick macro editing in vim.
To save myself looking at this article for the 100th time when I want to edit a macro, I thought I'd write a plugin for it.
:Macroscope {register}
to open amacroscope
scratch window with the contents of the macro in register{register}
pasted (defaults toq
if no register supplied).- Leaving the window will automatically update the macro with whatever was
inside the
macroscope
window.
See the docs for configuration options.
Use your favourite plugin manager to install this plugin. I like vim-plug
.
Plug 'dbatten5/vim-macroscope'