This is part of the package MultiEditUtils and called "selection fields". You can just install the package and add the keybinding:
{ "keys": ["alt+d"], "command": "selection_fields" },
Afterwards just press alt+d and use tab (or again alt+d) to step through the selections. If you step behind the last one or press escape all selections will be restored.