/vim-macroscope

Quick macro editing in vim

Primary LanguageVim Script

macroscope.vim

Quick macro editing in vim.

Motivation

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.

Features

  • :Macroscope {register} to open a macroscope scratch window with the contents of the macro in register {register} pasted (defaults to q 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.

Installation

Use your favourite plugin manager to install this plugin. I like vim-plug.

Plug 'dbatten5/vim-macroscope'