def METHOD_NAME(
    self, search: str, bindings: List[Tuple[str, str]]
) -> None:
    """Add names of commands that match the current search to the match set."""
    self._search_matches |= {
        command.split(maxsplit=1)[0]
        for _, command in bindings
        if search in command.split(maxsplit=1)[0]
    }