My shortcuts

My shortcuts

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

  1. open ~/.bash_profile or open ~/.zshrc
  2. Adding the next line
code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $* ;}
  1. Now, you can use in the terminal the shorcut
code .
code path/to/project/

Git commands

  1. open ~/.zshrc
  2. Adding the next line
plugins=(git)
  1. 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
comments powered by Disqus