'Delete the current completion item.'

@cmdutils.register(instance='completion', hide=True, modes=[usertypes.KeyMode.command], scope='window')
def completion_item_del(self):

    index = self.currentIndex()
    if (not index.isValid()):
        raise cmdexc.CommandError('No    item    selected!')
    self.model().delete_cur_item(index)
