Follow these steps to add or change your shortcuts and hotkeys in Unity:
Step 1: Locate the Shortcuts Manager in Unity’s main menu.
For Windows, go to "Edit," then select "Shortcuts."
For Mac, go to "Unity," then select "Shortcuts."
Step 2: You will now get a pop-up window that shows a keyboard layout and commands that are organized by category. Now, you want to choose whether you want to make a command “global” or “contextual.”
Global commands are commands that are always available. This means that, for example, whenever you press certain keys linked to the global command for “Undo,” it will always undo the previous action regardless of what windows or tools are currently active.
Contextual commands are linked to a certain view or toolset; for example, they only work when you are in the Animation window.
Something to keep in mind when editing global and contextual commands is that they can create shortcut conflicts. So you want to be careful to keep track of which commands are global and which are contextual when changing and customizing shortcuts.
Step 3: If you would like to assign an action to a single key, select that command from the command menu and drag and drop it to the key you would like to assign it to. If you would like to add a modifier key to the command, such as Shift or Option, hold that key or keys down while dragging and dropping the command to the keyboard.
19 Handy Shortcuts to Know in Unity
This is a non-exhaustive list of some of the handiest keyboard shortcuts in Unity that will help you design and develop faster and more efficiently.
Scene Files:
New Scene: [Ctrl/Cmd + N]
Open Scene: [Ctrl /Cmd + O]
Save Scene: [Ctrl/Cmd + S]
Save As: [Ctrl/Cmd + Shift + S]
Editing:
Create Empty Game Object: [Ctrl/Cmd + Shift + N]
Duplicate: [Ctrl/Cmd + D]
Undo: [Ctrl/Cmd +Z]
Redo: [Ctrl + Y] (PC) [Shift +Cmd + Z] (Mac)
Cut: [Ctrl/Cmd + X]
Copy: [Ctrl /Cmd + C]
Paste: [Ctrl/Cmd + V]
Select All: [Ctrl/Cmd + A]
Invert Selection: [Ctrl/Cmd + I]
Deselect All: [Shift + D]
Find Object: [Ctrl/Cmd + F]
Move Object to View: [Ctrl/Cmd + Alt + F]