Keyboard shortcuts are one of the most important things you can master as you start your coding career. Knowing how to navigate the keys quickly and efficiently gives you the confidence to learn anything (and feel super cool)! Mark my words.

Below are some of the most common keyboard shortcuts for Chrome, Sublime, and navigating text. The below commands are Mac-centric - Windows users, you can substitute the Command (⌘) key with Control, and the Option key (⌥) with Alt.

Chrome Shortcuts

I recommend using Chrome for your browser, but many of these shortcuts also work for Firefox and Safari. Just don't let me find you using Internet Explorer! Kidding, sort of.

Keys Action
⌘ + T New Tab
⌘ + ⌥ + I Show Inspector (you should be using this often!)
⌘ + ⌥ + U Show Source
⌘ + N New window (but use tabs more!)
⌘ + ⇧ + T Open previously closed tab
⌘ + ⇧ + N New Incognito Window (private browsing)
⌘ + [ Go back
⌘ + ] Go forward
⌘ + ⌥ + ← Go to tab left of current
⌘ + ⌥ + → Go to tab right of current

See a more comprehensive list of Chrome shortcuts here (and here for Windows).

Sublime Shortcuts

Sublime Text 3 is THE text editor. You will love it. Download here if you haven't already.

Keys Actions
⌘ + S Save (the most important shortcut ever!)
⌘ + ⇧ + S Save As (for duplicating files)
⌘ + [ Tab left (usually with highlighted content)
⌘ + ] Tab right (again, usually highlighted content)
⌘ + ⌥ + ← Go to tab left of current
⌘ + ⌥ + → Go to tab right of current
⌘ + ⌥ + . Close a tag

Many, many more Sublime shortcuts here.

Typing shortcuts

No need to hold down the up arrow to get to the top of the page. Use these to jump around your code, like a boss.

Keys Actions
⌘ + → Skip to end of a line
⌘ + ← Skip to beginning of a line
⌘ + ↑ Skip to top of document
⌘ + ↓ Skip to bottom of document
⌥ + → Skip a word to the right
⌥ + ← Skip a word to the left