zle -D widget ...
zle -A old-widget new-widget
zle -N widget [ function ]
zle widget
       The zle builtin  performs  a  number  of  different
       actions  concerning  ZLE.   Which operation it per-
       forms depends on its options:

       -l [ -L ]
              List all existing user-defined widgets.   If
              the  -L  option is used, list in the form of
              zle  commands   to   create   the   widgets.
              Built-in widgets are not listed.

       -D widget ...
              Delete the named widgets.

       -A old-widget new-widget
              Make   the  new-widget  name  an  alias  for
              old-widget, so that both names refer to  the
              same widget.  The names have equal standing;
              if either is deleted, the other remains.  If
              there  is already a widget with the new-wid-
              get name, it is deleted.

       -N widget [ function ]
              Create a user-defined widget.  If  there  is
              already a widget with the specified name, it
              is overwritten.   When  the  new  widget  is
              invoked  from  within the editor, the speci-
              fied shell function is called.  If no  func-
              tion  name  is specified, it defaults to the
              same name as the widget.

       widget Invoke the specified widget.  This can  only
              be  done  when  ZLE is active; normally this
              will be within a user-defined widget.
