Keyboard: ←/A opens a bracket, →/D closes it, space or ↓ leaves the base unpaired. The menus drive from the arrows and WASD too.