This is a template plugin intended to simplify conversion of user scripts into a plugin. The goal is to make user scripts available from any Leo file as menu commands (this plugin creates myScripts menu group), buttons, mini-buffer commands, or keyboard shortcuts.

baseLeoPlugin2.py

baseLeoPlugin2.leo