To set P4VS preferences in Visual Studio, go to Tools > Options. You can specify preferences on the following nodes in the Options dialog under Source Control:
You can specify keyboard shortcuts for P4VS commands under Tools > Options > Environment > Keyboard.