Skip to content

Instantly share code, notes, and snippets.

@lisacatalano
Last active September 23, 2019 09:38
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lisacatalano/89fe7893c1cb538f0e4b to your computer and use it in GitHub Desktop.
Save lisacatalano/89fe7893c1cb538f0e4b to your computer and use it in GitHub Desktop.
Multiple Cursors and Navigation Shortcuts for Brackets
<section>
<h2>Multiple Cursors</h2>
<div class="shortcuts">
<h3>Keyboard Shotcuts</h3>
<ul>
<li><strong>Ctrl+B</strong> Add next match to your selection</li>
<li><strong>Ctrl+Shift+B</strong> Skip and add next match</li>
<li><strong>Ctrl+U</strong> Undo last selection change</li>
<li><strong>Ctrl+Shift+U</strong> Redo last selection change</li>
<li><strong>Alt+F3</strong> Find all and select</li>
<li><strong>Ctrl+Click</strong> Add to your selection</li>
<li><strong>Alt+Click+Drag</strong> Select a column</li>
<li><strong>Alt+Shift+↑</strong> Add Cursor to Previous Line</li>
<li><strong>Alt+Shift+↓</strong> Add Cursor to Next Line</li>
<li><strong>Ctrl+Alt+L</strong> Split Selection Into Lines</li>
<li><strong>Esc</strong> Switch to a Single Selection</li>
</ul>
</div>
<div class="notes">
<h3>Notes</h3>
<ul>
<li>Splitting your selection into lines gives you multiple cursors</li>
<li>Any editing you do will happen at each cursor position</li>
<li>Knowing how to move your cursor placement shortcuts will make this tool even more powerful</li>
</ul>
</div>
</section>
<section>
<h2>Navigation (Go To)</h2>
<div class="shortcuts">
<h3>Keyboard Shortcuts</h3>
<ul>
<li><strong>Ctrl+E</strong> Quick Edit</li>
<li><strong>Ctrl+Shift+O</strong> Quick Open </li>
<li><strong>Ctrl+J</strong> Jump to Definition</li>
<li><strong>Ctrl+T</strong> Go to Definition </li>
<li><strong>Ctrl+G</strong> Go to Line </li>
<li><strong>Ctrl+K</strong> Quick Docs </li>
</ul>
</div>
<div class="notes">
<h3>Notes</h3>
<ul>
<li>The Quick Open, Find Defintion and Go to Line all use the same panel, so if you pick the wrong one, you can change your mind by typing :, @ or nothing.</li>
</ul>
</div>
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment