'Paste the most recently deleted text.
This acts like readline\'s yank.'

@cmdutils.register(instance='readline-bridge', hide=True, modes=[typ.KeyMode.command, typ.KeyMode.prompt])
def rl_yank(self):

    widget = self._widget()
    if ((widget is None) or (widget not in self._deleted)):
        return
    widget.insert(self._deleted[widget])
