XCode Shortcuts
shortcut |
Description |
Cmd + Shift + O |
open file by name. |
Cmd + Shift + J |
show file in project tree. |
Cmd + Shift + F |
search in the whole project. |
Ctrl + I |
indent lines. |
Open project or file with Visual Studio
- open ~/.bash_profile or open ~/.zshrc
- Adding the next line
code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $* ;}
- Now, you can use in the terminal the shorcut
code .
code path/to/project/
Git commands
- open ~/.zshrc
- Adding the next line
- Now, you can use in the terminal the shorcuts
Alias |
Command |
g |
git |
ga |
git add |
gaa |
git add –all |
ggp |
git push origin $(current_branch) |
gcb |
git checkout -b |
gcm |
git checkout $(git_main_branch) |
For more shorcuts in the next link.
Mac Shortcuts
shortcut |
Description |
Ctrl + cmd + 0 |
Organize desk |
Cmd + space |
Search with spotlight |