How to Setup
Download the keybindings file:
masterpowers.idekeybindings
and Move it to:
/Users/YOUR_USERNAME/Library/Developer/Xcode/UserData/KeyBindings
replace YOUR_USERNAME
with your Username on Mac
Vim
Vim Mode = OPT + V
Left Sidebar
Show Project Navigator = CMD + 1
Show Source Control Navigator = CMD + 2
Show Bookmark Navigator = CMD + 3
Show Find Navigator = CMD + 4
Show Issue Navigator = CMD + 5
Show Test Navigator = CMD + 6
Show Debug Navigator = CMD + 7
Show Breakpoint Navigator = CMD + 8
Show Report Navigator = CMD + 9
File Navigation
Focus Editor = CMD + J
Reveal File in Navigator = CMD + SHIFT + J
Show Previous Tab = CMD + [
Show Next Tab = CMD + ]
Right Sidebar
Show File Inspector = CMD + F1
Show Git History Inspector = CMD + F2
Show Quick Help Inspector = CMD + F3
Show Accessibility Inspector = CMD + F4
Show Attributes Inspector = CMD + F5
Sidebars
Show Navigator (Left Sidebar) = CMD + B
Show Inspector (Right Sidebar) = CMD + SHIFT + B
Terminal
Show Debug Area = CMD + `
Clear Console = CTRL + K
Reload Console = CTRL + SHIFT + K
Build and Run
Run = CMD + R
Test = CMD + T
Profile = CMD + P
Build = OPT + B
Build for Run = CMD + SHIFT + R
Build for Test = CMD + SHIFT + T
Build for Profile = CMD + SHIFT + P
Preview = OPT + P
Build for Preview = OPT + SHIFT + P
Refresh Canvas = F5
Automatically Refresh Canvas = SHIFT + F5
Search and Replace
Use Selection for Find: CMD + E
Use Selection for Replace = CMD + SHIFT+ E
Find = CMD + F
Find Selected Text in Workspace = F4
Find In Workspace = CMD + SHIFT + F
Filter File in Navigator = OPT + F
Replace = CMD + H
Replace In Workspace = CMD + SHIFT + H
Replace All = CMD + Y
Replace All In Workspace = CMD + SHIFT + Y
Find Next = CMD + G
Find Previous = CMD + SHIFT+ G
Quick Search
Open Quickly = CMD + O
Find Selected Symbol in Workspace = CMD + SHIFT + O
Find Call Hierarchy = CMD + M
Refactor Code
Rename = F2
Edit in All Scope = F3
Add Missing Abstract Class Overrides = OPT + O
Add Missing Protocol Requirements = OPT + I
Generate Missing Function Definition = OPT + M
Note: we can use fix all issue key map to add missing overrides
Formatting
Re-Indent = CMD + I
Format Multiline Code = CMD + SHIFT + I
Split Selection By Lines = OPT + SHIFT+ S
Move lines Up = OPT + K
Move line Down = OPT + J
Folding
Fold = CMD + SHIFT + [
Unfold = CMD + SHIFT + ]
Unfold All = CMD + SHIFT+ </kbd>
Font Size
Reset Font Size = CMD + 0
Increase Font Size = CMD + +
Decrease Font Size = CMD + -
Multi Select
Select Column Up = OPT + SHIFT+ J
Select Column Down = OPT + SHIFT+ K
Select All Symbols = CMD + SHIFT+ L
Select Next Occurence = OPT + E
Select Previous Occurence = OPT + SHIFT+ E
Helper
Search Documentation for Selected Text = F1
Show Library = CMD + K
Show Completions = CMD + .
Show Quick Actions = OPT + A
Issues
Fix All Issue = OPT + SHIFT + F
Show All Issue = OPT + SHIFT + I
Jump to Next Issue = CMD + '
Jump to Previous Issue = CMD + "
Files
New Package = OPT + N
New File = CMD + N
New Folder / Group = CMD + SHIFT + N
Add Package Dependencies = OPT + SHIFT+ A
Expand Macro = CMD + SHIFT + M
Bookmark Line = CMD + L
Bookmark Line with Dialog = CMD + OPT + L
Debugging
Toggle Breakpoint = CMD + D
Stop = CMD + SHIFT + S
Pause / Continue = CMD + Arrow Up
Step Over = CMD + Arrow Down
Step Out = CMD + Arrow Left
Step Into = CMD + Arrow Right
Git
New Git Repository = OPT + SHIFT+ G
Commit = OPT + G
Reveal Changes in Navigator = CMD + SHIFT + C
Push = CMD + U
Pull = CMD + SHIFT + U
Stage Selected Files = OPT + S
Unstage Selected Files = OPT + U
Show Code Review = OPT + R