Undocumented Safari Keyboard Shortcuts

December 31, 2005


Sometimes the best Macintosh tips are right under you nose the whole time. Did you know that Apple included a hidden file on your Mac with all of the otherwise-undocumented shortcuts in Safari? This file is on your own computer, but you need to know about it to find it.

Just launch Safari and Copy and Paste this link into the address box:

file:///Applications/Safari.app/Contents/Resources/Shortcuts.html

Or continue reading after the break for the full list of Safari Keyboard Shortcuts.

Shop at the iTunes Music Store.

Web page shortcuts (when keyboard focus is on page background)

up/down arrow key Scroll page vertically by a small amount (more than click on scroll bar arrow)
left/right arrow key Scroll page horizontally by a small amount (more than click on scroll bar arrow)
option-arrow keys Scroll page by a screenful, minus a small overlap
Command-up/down arrow key Scroll to top-left or bottom-left corner of web page
spacebar Scroll page down by a screenful, minus a small overlap
Delete key Go Back
Shift-Delete key Go Forward

Other browser window shortcuts

Page Up key/Page Down key Scroll page by a screenful, minus a small overlap
Home key Scroll to top-left corner of web page
Command-Home key Go to the Home page Command-Shift-H also does this
End key Scroll to bottom-left corner of web page
Esc key If location field selected, restore viewed URL
Cmd-click a link Open link in new window or tab See Tabs preferences for details
Cmd-Shift-click a link Open link in new window or tab See Tabs preferences for details
Option-click a link Download file
Shift-click the Add Bookmark button Add bookmark directly to menu
Cmd-return in address field Open page in new window or tab See Tabs preferences for details
Cmd-Shift-return in address field Open page in new window or tab See Tabs preferences for details
Cmd-return in search field Show search results in new window or tab See Tabs preferences for details
Cmd-Shift-return in search field Show search results in new window or tab See Tabs preferences for details
Press and hold Back or Forward button Pop up a menu showing up to 10 back/forward entries by page title
Option-press and hold Back or Forward button Pop up a menu showing up to 10 back/forward entries by page URL
Cmd-Shift-right-arrow Select Next Tab if tabs are enabled, and if no text field has focus
Cmd-Shift-left-arrow Select Previous Tab if tabs are enabled, and if no text field has focus

Bookmarks view shortcuts
Delete key Delete selected bookmarks
Return key Start or finish editing name of selected bookmark
Tab key When editing, move to next editable cell
spacebar Open selected bookmark
Double-click Open selected bookmark
Cmd-Double-click Open selected bookmark in a new window
Option-click New Folder button Put selected items in new folder


Activity window shortcuts
Double-click Open item in browser window
Option-double-click Download item
Downloads window shortcuts
Option-click status field Toggle between time remaining and download rate
Double-click file icon Open the downloaded file

Menu shortcuts
Cmd-A Select All
Cmd-B Was Show/Hide Bookmarks Bar in older Safaris
Cmd-C Copy
Cmd-D Add Bookmark…
Cmd-E Use Selection for Find
Cmd-F Find…
Cmd-G Find Again
Cmd-H Hide Safari
Cmd-I
Cmd-J Jump to Selection
Cmd-K Block Pop-up Windows
Cmd-L Open Location…
Cmd-M Minimize
Cmd-N New Window
Cmd-O Open File…
Cmd-P Print…
Cmd-Q Quit Safari
Cmd-R Reload Page
Cmd-S Save As…
Cmd-T New Tab if tabs are enabled
Cmd-U
Cmd-V Paste
Cmd-W Close Window or Close Tab Close Tab if multiple tabs are showing, otherwise Close Window
Cmd-X Cut
Cmd-Y
Cmd-Z Undo
Cmd-Shift-A AutoFill Form
Cmd-Shift-B Show/Hide Bookmarks Bar Safari-152 and earlier used Cmd-B for this
Cmd-Shift-C
Cmd-Shift-D Add Bookmark to Menu Alternate menu item to Add Bookmark…
Cmd-Shift-E
Cmd-Shift-F
Cmd-Shift-G Find Previous
Cmd-Shift-H Home Cmd-Home also does this
Cmd-Shift-I
Cmd-Shift-J
Cmd-Shift-K
Cmd-Shift-L
Cmd-Shift-M
Cmd-Shift-N Add Bookmark Folder
Cmd-Shift-O
Cmd-Shift-P Page Setup…
Cmd-Shift-Q
Cmd-Shift-R
Cmd-Shift-S Start Sampling in Debug menu
Cmd-Shift-T Stop Sampling in Debug menu
Cmd-Shift-U
Cmd-Shift-V
Cmd-Shift-W Close Window only if multiple tabs are showing
Cmd-Shift-X
Cmd-Shift-Y
Cmd-Shift-Z Redo
Cmd-Option-A Activity
Cmd-Option-B Show All Bookmarks
Cmd-Option-C
Cmd-Option-D Show/Hide Dock (System-wide)
Cmd-Option-E Empty Cache…
Cmd-Option-F Google Search…
Cmd-Option-G
Cmd-Option-H Hide Others
Cmd-Option-I
Cmd-Option-J
Cmd-Option-K Mark Page for SnapBack
Cmd-Option-L Downloads Cmd-Option-D is more natural, but used by the Dock
Cmd-Option-M Minimize All Alternate menu item to Minimize
Cmd-Option-N
Cmd-Option-O
Cmd-Option-P SnapBack to Page
Cmd-Option-Q
Cmd-Option-R
Cmd-Option-S SnapBack to Search
Cmd-Option-T
Cmd-Option-U View Source Changed in Tiger to match “View Raw Source” in Mail
Cmd-Option-V
Cmd-Option-W Close All Windows when Cmd-W is Close Window (Alternate menu item)
Cmd-Option-X
Cmd-Option-Y
Cmd-Option-Z
Cmd-Option-Shift-W Close All Windows when Cmd-Shift-W is Close Window (Alternate menu item)
Cmd-1 to Cmd-9 first 9 bookmarks (not folders) in Bookmarks Toolbar
Cmd-? Safari Help
Cmd-[ Back
Cmd-] Forward
Cmd-. Stop
Cmd-, Preferences…
Cmd-/ Show/Hide Status Bar
Cmd-| Show/Hide Address Bar
Cmd-\ Show Page Load Test Window in Debug menu
Cmd-} Select Next Tab if tabs are enabled
Cmd-{ Select Previous Tab if tabs are enabled

Comments

9 Responses to “Undocumented Safari Keyboard Shortcuts”

  1. WordWorks » Undocumented Safari Keyboard shortcuts! on January 1st, 2006 5:10 am

    [...] Posted in Apple, macintosh, OS X, Dailylinks at 12:50 pm by coelomic Undocumented Safari Keyboard shortcuts : Found this awesome trick on this site. They are an absolute must for Safari power users and Quicksilver junkies who would rather use the keyboard to the mouse. [...]

  2. WordWorks » Safari key board shortcuts on January 1st, 2006 11:29 am

    [...] Posted in Uncategorized at 11:29 am by coelomic Undocumented Safari Keyboard Shortcuts [...]

  3. Geek talking » Cool Safari Keyboard Shortcut tips on January 1st, 2006 4:23 pm

    [...] Found this article at MacSupport.ca. [...]

  4. Mohan Krishnan on January 1st, 2006 5:48 pm

    Nice list! :) Just a minor addition — in addition to the spacebar going down a page, shift-spacebar goes up a page. Several Windows apps use that system too, including Outlook, I think? And so it’s familiar to a lot of people with Windows experience. :) Plus it’s really easy to reach.

  5. sjk on January 1st, 2006 11:54 pm

    You can also open the file by selection the file:// URL in this article and using the Open URL service (command-shift-U is the default shortcut, if some other app service hasn’t stolen it). There’s also a command in the Debug menu to open it, if you have that enabled.

    Seems a bit silly to have added the contents here in a less readable format than opening the page in Safari.

  6. Macsupport on January 2nd, 2006 6:30 am

    sjk you said, “Seems a bit silly to have added the contents here in a less readable format than opening the page in Safari.”

    I tried to make the URL a hyperlink but for some reason it doesn’t work when clicked in safari if it is active as a hyperlink. Copying and Pasting does however.

  7. Techno Mojo » Blog Archive » Time Saving Tuesday on August 29th, 2006 6:25 am

    [...] Safari [...]

  8. CNET.ro - » Scurt?turi din taste on September 19th, 2006 2:15 am

    [...] Safari [...]

  9. Ian Ranson on March 27th, 2008 4:56 am

    What about if you use Safari for Windows XP, like me because Internet Explorer and Firefox are rubbish. What are the shortcuts for Safari for XP.

Got something to say?