Sub topic 7
Browser shortcuts for tabs and the address bar
This chapter assumes you know the modifier-key notation (⌘, ⌥, ⌃, ⇧) and the core editing shortcuts from earlier chapters. It also assumes you can open Safari, Chrome, or Firefox and know what a tab is. The shortcuts below work in all three browsers unless a note says otherwise. Browsers change their defaults over time, so confirm anything surprising in the browser's own menus (see the chapter on finding shortcuts in menus).
The working model
A browser window holds a row of tabs. Each tab holds one page and has its own history. The address bar sits above the page and accepts either a web address or search words.
Browser shortcuts fall into four groups:
- Tab lifecycle: open, close, and restore tabs.
- Tab navigation: move between tabs without the mouse.
- Address bar: focus it, type, and decide where the result opens.
- Page actions: back, forward, reload, find, zoom, and bookmark.
Learn one or two shortcuts from each group instead of memorizing a long list. Most of the speed comes from tab lifecycle and the address bar.
Tab lifecycle
| Action | Shortcut | Notes |
|---|---|---|
| New tab | ⌘T | Puts the cursor in the address bar, ready to type |
| Close tab | ⌘W | Closes the whole window if it is the last tab |
| Reopen closed tab | ⇧⌘T | Can be repeated to restore several tabs in reverse order |
| New window | ⌘N | Starts with its own tab bar |
| New private window | ⇧⌘N (Safari, Chrome), ⇧⌘P (Firefox) | Chrome calls it Incognito |
⌘T and ⌘W are the pair to practice first. Open a tab, do the task, close it. This keeps the tab bar short, and a short tab bar makes every other tab shortcut easier to use.
⇧⌘T is a safety net. If you close a tab by accident, press it right away and the page returns, usually with its back history. Pressing it again restores the tab closed before that one.
Moving between tabs
You have three ways to move between tabs, and each suits a different situation.
Step one tab at a time. Use ⌃Tab for the next tab and ⌃⇧Tab for the previous one. This is the same in Safari, Chrome, and Firefox. Chrome and Safari also accept ⇧⌘] for next and ⇧⌘[ for previous. Chrome adds ⌘⌥→ and ⌘⌥←.
Jump to a specific tab. Press ⌘1 through ⌘8 to go to the first through eighth tab. In Chrome and Firefox, ⌘9 goes to the last tab, however many you have open. In Safari, this behavior is controlled by a setting in Safari > Settings > Tabs. If ⌘1 through ⌘9 do something else in Safari, such as opening a favorite, check that setting.
Search for a tab. When you have dozens of tabs, stepping through them is slow. Chrome's ⇧⌘A opens a tab search box where you type part of a title. Safari's ⇧⌘\ shows all tabs as a grid you can scan and click.
A useful habit is to keep your two or three most-used pages (mail, calendar, a work dashboard) in the first tabs. Then ⌘1, ⌘2, and ⌘3 take you to them from anywhere.
The address bar
Pressing ⌘L selects the address bar's contents from any tab. The text is highlighted, so anything you type replaces it. It works in all three browsers and is the most useful single shortcut in this chapter.
Because the address bar is an ordinary text field, the editing shortcuts from earlier chapters work in it:
- ⌘C after ⌘L copies the current page's address.
- ⌘V after ⌘L replaces the address with whatever you copied, and Return loads it.
- ⌘⌫ deletes everything before the cursor, which is useful for rewriting part of a long address.
- ⌥← and ⌥→ move across a word at a time, and in an address they stop at punctuation such as slashes and dots.
The address bar also acts as the search box. If you type words that are not a valid address, the browser sends them to your default search engine. This is why ⌘T followed by typing and Return is a complete search workflow.
Choosing where the result opens
The key combination you use to open a page decides whether it replaces the current page or opens a new one. The following flow shows the options.
Link clicking has its own modifiers. ⌘-click opens a link in a new background tab and leaves you where you are. This is good for opening several search results to read later. ⇧⌘-click opens the link in a new tab and switches to it immediately. Both behaviors are the same in Safari and Chrome. Some Safari versions let you swap them in the Tabs settings.
Page actions
These shortcuts act on the page in the current tab.
| Action | Shortcut |
|---|---|
| Back | ⌘[ |
| Forward | ⌘] |
| Reload | ⌘R |
| Reload, ignoring cached files | ⇧⌘R (Chrome, Firefox) |
| Find on page | ⌘F |
| Next or previous match | ⌘G, ⇧⌘G |
| Bookmark this page | ⌘D |
| Zoom in, zoom out, reset | ⌘+, ⌘−, ⌘0 |
| Scroll down or up one screen | Space, ⇧Space |
Chrome and Firefox also accept ⌘← for back and ⌘→ for forward. This works when the cursor is not inside a text field. In a text field, ⌘← moves the cursor to the start of the line, so the browser leaves it alone.
⌘F deserves a closer look. Type a term and press Return or ⌘G to jump to each match. Press Esc to close the find bar. The highlighted matches stay visible until you close it, which helps when you scan a long article for a name or number.
Space scrolls a page down one screen unless the cursor is in a text box. If Space inserts a space into a form instead, click on the page background or press Esc, then try again.
A complete workflow
Here is a typical research session using only the keyboard and ⌘-click. Each line is one step.
⌘T Open a new tab
(type words) Search for a topic
Return Load the results
⌘-click Open three promising results in background tabs
⌃Tab Step to the first background tab
⌘F Find a key term on the page
⌘D Bookmark it if it is useful
⌘W Close the tab when finished
⌘L ⌘C Copy the address of the tab you keep
⇧⌘T Bring back a tab you closed too earlyAfter a few repetitions this sequence becomes automatic. You can read, compare, and discard pages without reaching for the trackpad.
Common errors and fixes
- ⌘W closed the window, not just a tab. The tab was the last one in its window. Press ⇧⌘T to restore it.
- ⇧⌘T does nothing. You may have closed a private tab, or the browser history is cleared on quit. Private tabs are not remembered. Look in the browser's History menu for Reopen Last Closed Tab.
- ⌘9 went to the last tab, not the ninth. This is intended in Chrome and Firefox. Use ⌃Tab to step to the ninth tab.
- ⌘L typed over the page instead of the address bar. Some web apps, such as online editors, take over keys for their own use. Click outside the page area or use the mouse on the address bar once to hand focus back to the browser.
- ⌘[ went back in a text editor, not the page. In a web document editor, ⌘[ can mean "outdent". Click the page background first, or use the Back button.
- A shortcut works in Chrome but not Safari. The three browsers share most shortcuts but not all. Check the browser's menus. Shortcuts appear to the right of each item.
Practice
Exercise
You have a research page open and want to see a second page in a new tab without leaving the first one. You do not want to lose your place. Which keys do you use for a link on the page, and which for an address you type yourself?
Show answer
For a link on the page, ⌘-click opens it in a background tab and keeps you on the current page. For an address you type, press ⌘T to open a new tab, type the address, and press Return. Use ⇧⌘-click instead if you want to switch to the new tab immediately.
Exercise
You just pressed ⌘W and closed the wrong tab. You then closed a second tab by mistake. How do you get both back, and in what order do they return?
Show answer
Press ⇧⌘T twice. The browser restores the most recently closed tab first, then the one closed before it, so the second tab you closed returns first.
Exercise
You are on a page and need to copy its address to paste into a message. Write the sequence of shortcuts, and explain why it works.
Show answer
Press ⌘L, then ⌘C. ⌘L selects the whole address in the address bar from anywhere in the browser, and ⌘C copies the selected text, exactly as it does in any other text field.