Xcode: indent code in a single shortcut
<p>I'm using Xcode 7.3 with Swift 2.2. </p>

<p>The point is that I'm largely tired of "running":</p>

<p><kbd>Cmd</kbd> + A<br>
  <kbd>Ctrl</kbd> + I </p>

<p>in order to indent the whole code.</p>

<p>So, I think I'm quite close to find the solution, creating my own shortcut on <strong>IDETextKeyBindingSet.plist</strong>.</p>

<pre><code>&lt;key&gt;My Custom Shortcuts&lt;/key&gt;
&lt;dict&gt; 
    &lt;key&gt;Indent Code In One Hit&lt;/key&gt;
    &lt;string&gt;selectAll:, ....., moveLeft:&lt;/string&gt;
&lt;/dict&gt;
</code></pre>

<p>I have done a lot of test substituting '.....' with various commands (combining <a href="https://gist.github.com/ryecroft/7433433" rel="nofollow">this</a>), but I can't find a solution yet.</p>

<p>Any help is appreciated!</p>