Keyboard shortcuts

Go to Tools > Options > Environment > Keyboard. You can find P4 for Visual Studio commands by entering P4 for Visual Studio in the Show commands containing field.

To learn more about creating keyboard shortcuts in Visual Studio, see the Microsoft Visual Studio help.