map expand_selection to keys