User Guide Cancel

Keyboard shortcuts

  1. Dreamweaver User Guide
  2. Introduction
    1. Responsive web design basics
    2. What's new in Dreamweaver
    3. Web development using Dreamweaver - An Overview
    4. Dreamweaver / Common Questions
    5. Keyboard shortcuts
    6. Dreamweaver system requirements
    7. Feature summary
  3. Dreamweaver and Creative Cloud
    1. Synchronize Dreamweaver settings with Creative Cloud
    2. Creative Cloud Libraries in Dreamweaver
    3. Using Photoshop files in Dreamweaver
    4. Work with Adobe Animate and Dreamweaver
    5. Extract web-optimized SVG files from Libraries
  4. Dreamweaver workspaces and views
    1. The Dreamweaver workspace
    2. Optimize Dreamweaver workspace for visual development
    3. Search files based on filename or content | Mac OS
  5. Set up sites
    1. About Dreamweaver sites
    2. Set up a local version of your site
    3. Connect to a publishing server
    4. Set up a testing server
    5. Import and export Dreamweaver site settings
    6. Bring existing websites from a remote server to your local site root
    7. Accessibility features in Dreamweaver
    8. Advanced settings
    9. Set site preferences for transferring files
    10. Specify proxy server settings in Dreamweaver
    11. Synchronize Dreamweaver settings with Creative Cloud
    12. Using Git in Dreamweaver
  6. Manage files
    1. Create and open files
    2. Manage files and folders
    3. Getting and putting files to and from your server
    4. Check in and check out files
    5. Synchronize files
    6. Compare files for differences
    7. Cloak files and folders in your Dreamweaver site
    8. Enable Design Notes for Dreamweaver sites
    9. Preventing potential Gatekeeper exploit
  7. Layout and design
    1. Use visual aids for layout
    2. About using CSS to lay out your page
    3. Design responsive websites using Bootstrap
    4. Creating and using media queries in Dreamweaver
    5. Present content with tables
    6. Colors
    7. Responsive design using fluid grid layouts
    8. Extract in Dreamweaver
  8. CSS
    1. Understand Cascading Style Sheets
    2. Laying out pages using CSS Designer
    3. Using CSS preprocessors in Dreamweaver
    4. How to set CSS Style preferences in Dreamweaver
    5. Move CSS rules in Dreamweaver
    6. Convert inline CSS to a CSS rule in Dreamweaver
    7. Work with div tags
    8. Apply gradients to background
    9. Create and edit CSS3 transition effects in Dreamweaver
    10. Format code
  9. Page content and assets
    1. Set page properties
    2. Set CSS heading properties and CSS link properties
    3. Work with text
    4. Find and replace text, tags, and attributes
    5. DOM panel
    6. Edit in Live View
    7. Encoding documents in Dreamweaver
    8. Select and view elements in the Document window
    9. Set text properties in the Property inspector
    10. Spell check a web page
    11. Using horizontal rules in Dreamweaver
    12. Add and modify font combinations in Dreamweaver
    13. Work with assets
    14. Insert and update dates in Dreamweaver
    15. Create and manage favorite assets in Dreamweaver
    16. Insert and edit images in Dreamweaver
    17. Add media objects
    18. Adding videos in Dreamweaver
    19. Insert HTML5 video
    20. Insert SWF files
    21. Add audio effects
    22. Insert HTML5 audio in Dreamweaver
    23. Work with library items
    24. Using Arabic and Hebrew text in Dreamweaver
  10. Linking and navigation
    1. About linking and navigation
    2. Linking
    3. Image maps
    4. Troubleshoot links
  11. jQuery widgets and effects
    1. Use jQuery UI and mobile widgets in Dreamweaver
    2. Use jQuery effects in Dreamweaver
  12. Coding websites
    1. About coding in Dreamweaver
    2. Coding environment in Dreamweaver
    3. Set coding preferences
    4. Customize code coloring
    5. Write and edit code
    6. Code hinting and code completion
    7. Collapse and expand code
    8. Reuse code with snippets
    9. Lint code
    10. Optimize code
    11. Edit code in Design view
    12. Work with head content for pages
    13. Insert server-side includes in Dreamweaver
    14. Using tag libraries in Dreamweaver
    15. Importing custom tags into Dreamweaver
    16. Use JavaScript behaviors (general instructions)
    17. Apply built-in JavaScript behaviors
    18. About XML and XSLT
    19. Perform server-side XSL transformations in Dreamweaver
    20. Performing client-side XSL transformations in Dreamweaver
    21. Add character entities for XSLT in Dreamweaver
    22. Format code
  13. Cross-product workflows
    1. Installing and using extensions to Dreamweaver
    2. In-App updates in Dreamweaver
    3. Insert Microsoft Office documents in Dreamweaver (Windows only)
    4. Working with Fireworks and Dreamweaver
    5. Edit content in Dreamweaver sites using Contribute
    6. Dreamweaver-Business Catalyst integration
    7. Create personalized email campaigns
  14. Templates
    1. About Dreamweaver templates
    2. Recognizing templates and template-based documents
    3. Create a Dreamweaver template
    4. Create editable regions in templates
    5. Create repeating regions and tables in Dreamweaver
    6. Use optional regions in templates
    7. Define editable tag attributes in Dreamweaver
    8. How to create nested templates in Dreamweaver
    9. Edit, update, and delete templates
    10. Export and import xml content in Dreamweaver
    11. Apply or remove a template from an existing document
    12. Edit content in Dreamweaver templates
    13. Syntax rules for template tags in Dreamweaver
    14. Set highlighting preferences for template regions
    15. Benefits of using templates in Dreamweaver
  15. Mobile and multiscreen
    1. Create media queries
    2. Changing page orientation for mobile devices
    3. Create web apps for mobile devices using Dreamweaver
  16. Dynamic sites, pages and web forms
    1. Understand web applications
    2. Set up your computer for application development
    3. Troubleshoot database connections
    4. Removing connection scripts in Dreamweaver
    5. Design dynamic pages
    6. Dynamic content sources overview
    7. Define sources of dynamic content
    8. Add dynamic content to pages
    9. Changing dynamic content in Dreamweaver
    10. Display database records
    11. Provide and troubleshoot live data in Dreamweaver
    12. Add custom server behaviors in Dreamweaver
    13. Building forms using Dreamweaver
    14. Use forms to collect information from users
    15. Create and enable ColdFusion forms in Dreamweaver
    16. Create web forms
    17. Enhanced HTML5 support for form elements
    18. Develop a form using Dreamweaver
  17. Building applications visually
    1. Build master and detail pages in Dreamweaver
    2. Build search and results pages
    3. Build a record insert page
    4. Build an update record page in Dreamweaver
    5. Building record delete pages in Dreamweaver
    6. Use ASP commands to modify database in Dreamweaver
    7. Build a registration page
    8. Build a login page
    9. Build a page that only authorized users can access
    10. Securing folders in Coldfusion using Dreamweaver
    11. Using ColdFusion components in Dreamweaver
  18. Test, preview, and publish websites
    1. Preview pages
    2. Preview Dreamweaver web pages on multiple devices
    3. Test your Dreamweaver site
  19. Troubleshooting
    1. Fixed issues
    2. Known issues



Know the default keyboard shortcuts in Dreamweaver and learn how to customize them

Dreamweaver provides shortcuts to help you quickly work on documents. Many keyboard shortcuts appear next to the command names in menus.


The following list includes the most helpful shortcuts. You can customize the keyboard shortcuts in Dreamweaver. See Customize keyboard shortcuts.

Downloadable versions of keyboard shortcuts

Download and print a print-friendly version of these keyboard shortcuts.

  Windows - Part 1

  Windows - Part 2

  Mac - Coding shortcuts

  Mac - Part 2

Here is a list of the keyboard shortcuts in Dreamweaver. Use the filters below if you want to view keyboard shortcuts for a specific task, panel, or workflow.

Coding shortcuts

Action Mac Windows
Quick Edit Command + E Ctrl + E
Quick Doc Command + K Ctrl + K
Open/Add Line Above Command + Shift + Enter Ctrl + Shift + Enter
Show Parameter Hint Ctrl + ,
Ctrl + ,
Multi-cursor column / Rectangular selection Opt + Click + Drag Alt + Click + Drag
Multi-cursor discontiguous selection Command + Click Ctrl + Click
Show code hints

Ctrl + Space

Ctrl + Space

Select Child 

Command + ]

Ctrl + ]

Go to Line

Command + ,

Ctrl + G

Select Parent Tag

Command + [ Ctrl + [

Collapse Selection

Command + Shift + C

Ctrl + Shift + C

Collapse Outside Selection

Command + Opt + C

Ctrl + Alt + C

Expand Selection

Command + Shift + E

Ctrl + Shift + E

Collapse Full Tag 

Command + Shift + J

Ctrl + Shift + J

Collapse Outside Full Tag

Command + Opt + J

Ctrl + Alt + J

Expand All

Command + Opt + E

Ctrl + Alt + E

Indent Code 

Command + Shift + >

Ctrl + Shift + >

Outdent Code 

Command + Shift + <

Ctrl + Shift + <

Balance Braces 

Command + '

Ctrl + '

Code Navigator

Command + Opt + N

Ctrl + Alt + N

Delete word left

Command + Delete Ctrl + Backspace

Delete word right

Command + Fn + Delete

Ctrl + Delete

Select line up

Shift + Up

Shift + Up

Select line down

Shift + Down

Shift + Down

Character select left

Shift + Left

Shift + Left

Character select right

Shift + Right

Shift + Right

Select to page up

Shift + Fn + PgUp Shift + PgUp

Select to page down

Shift + Fn + PgDn

Shift + PgDn

Move word left

Opt + Left

Ctrl + Left

Move word right

Opt + Right

Ctrl + Right

Move to start of current line

Command + Left

Alt + Left

Move to end of current line

Command + Right

Alt + Right
Toggle line comment Command + / Ctrl + /
Toggle block comment (for PHP and JS files) Command + Opt + / Ctrl + Shift + /
Duplicate line selection Command + D Ctrl + D
Delete line (s) Command + Shift + D Ctrl + Shift + D
Jump to definition (JS files) Command + J Ctrl + J
Select word right Opt + Shift + Right Ctrl + Shift + Right
Select word left Opt + Shift + Left Ctrl + Shift + Left
Move to top of file Command + Fn + Left Ctrl + Home
Move to end of file Command + Fn + Right Ctrl + End
Select to start of file Command + Shift + Fn + Left Ctrl + Shift + Home
Select to end of file Command + Shift + Fn + Right Ctrl + Shift + End
Go to Source Code Command + Opt + ` Ctrl + Alt + `
Full Screen Command + Ctrl + F Not applicable
Close Window Command + W Ctrl + W
Quit Application Command + Q Ctrl + Q
Quick Tag Editor Command + T Ctrl + T
Go to Next Word Command + Right Ctrl + Right
Go to Previous Word Command + Left Ctrl + Left
Go to Previous Paragraph (Design View) Command + Up Ctrl + Up
Go to Next Paragraph (Design View) Command + Down Ctrl + Down
Select Until Next Word Command + Shift + Right Ctrl + Shift + Right
Select from Previous Word Command + Shift + Left Ctrl + Shift + Left
Select from Previous Paragraph Command + Shift + Up Ctrl + Shift + Up
Select Until Next Paragraph Command + Shift + Down Ctrl + Shift + Down
Move to next property pane Command + Opt + Fn + Down Ctrl + Alt + PgDn
Move to previous property pane Command + Opt + Fn + Up Ctrl + Alt + PgUp
New in same window Command + Shift + N Ctrl + Shift + N
Exit Paragraph Command + Return Ctrl + Return
Next Document Command + ` Ctrl + Tab
Previous Document Command + Shift + ` Ctrl + Shift + Tab
Surround with # Command + Shift + 3 Ctrl + Shift + 3

Refactoring shortcuts





Command + Opt + R

Ctrl + Alt + R

Extract to Variable

Command + Alt + V

Ctrl + Alt + V

Extract to Function

Command + Alt + M

Ctrl + Alt + M

Files Panel shortcuts




New File

Command + Shift + N

Ctrl + Shift + N

New Folder

Command + Opt + Shift + N

Ctrl + Alt + Shift + N

Find and replace keyboard shortcuts




Find in Current Document

Command + F

Ctrl + F

Find and Replace in Files

Command + Shift + F

Ctrl + Shift + F

Replace in Current Document

Command + Alt + F

Ctrl + H

Find Next

Command + G


Find Previous

Command + Shift + G

Shift + F3

Find All and Select

Command + Ctrl + G

Ctrl + Shift + F3

Add Next Match to Selection

Ctrl + Command + R

Ctrl + R

Skip and Add Next Match to Selection

Ctrl + Command + Opt + R

Ctrl + Alt + R

Insert shortcuts




Insert Image

Command + Opt + I

Ctrl + Alt + I

Insert HTML5 Video

Command + Opt + Shift + V

Ctrl + Alt + Shift + V

Insert Animated Composition

Command + Opt + Shift + E

Ctrl + Alt + Shift + E

Insert Flash SWF

Command + Opt + F

Ctrl + Alt + F

Insert Line Break

Shift + Return

Shift + Return

Non-breaking space (&nbsp)

Command + Shift + Space

Ctrl + Shift + Space

CSS shortcuts




Compile CSS Preprocessors



Add CSS selector or property which ever panel is in focus

Command + Opt + Shift + =

Ctrl + Alt + Shift + =

Add CSS selector

Command + Opt + S

Ctrl + Alt + S

Add CSS property

Command + Opt + P

Ctrl + Alt + P

Shortcuts for Guides, Grids, and Rulers (in Design View)




Show Guides

Command + ;

Ctrl + ;

Lock Guides

Command + Opt + ;

Ctrl + Alt + ;

Snap to Guides

Command + Shift + ;

Ctrl + Shift + ;

Guides Snap to Elements

Command + Shift + G

Ctrl + Shift + G

Show Grid

Command + Opt + G

Ctrl + Alt + G

Snap to Grid

Command + Opt + Shift + G

Ctrl + Alt + Shift + G

Show Rulers

Command + Opt + R

Ctrl + Alt + R

Preview shortcuts




Real-time Preview in Primary Browser

Opt + F12


Preview in Secondary Browser

Shift + F12

Shift + F12

View-specific shortcuts




Freeze JavaScript (Live View)



Hide Live View Displays

Ctrl + Command + H

Ctrl + Alt + H

Switch Views

Ctrl + `

Ctrl + `

Inspect (Live View)

Opt + Shift + 11

Alt + Shift + F11

Hide all visual aids (Design View)

Command + Shift + I

Ctrl + Shift + I

Toggle between Design and Live View

Command + Shift + F11

Ctrl + Shift + F11

Windows shortcuts

Action Mac Windows
Preferences Command + U Ctrl + U
Show Panels F4 F4
Behaviors Shift + F4 Shift + F4
Code Inspector Opt + F10 F10
CSS Designer Command + F11 Shift + F11
DOM Command + F7 Ctrl + F7
Files F8 F8
Insert Command + F2 Ctrl + F2
Properties Command + F3 Ctrl + F3
Output Shift + F6 Shift + F6
Search F7 F7
Snippets Not applicable Shift + F9
Dreamweaver Online Help F1 F1

Text shortcuts





Command + Opt + ]

Ctrl + Alt + ]


Command + Opt + [

Ctrl + Alt + [


Command + B

Ctrl + B


Command + I

Ctrl + I

Spell Check

Shift + F7

Shift + F7

Remove Link

Command + Shift + L

Ctrl + Shift + L

Magnification shortcuts

Action Mac Windows
Zoom in (Design and Live View) Command + = Ctrl + =
Zoom Out (Design and Live View) Command + - Ctrl + -
100% Command + 0 Ctrl + 0
50% Command + Opt + 5 Ctrl + Alt + 5
200% Command + Opt + 2 Ctrl + Alt + 2
300% Command + Opt + 3 Ctrl + Alt + 3
Fit Selection Command + Opt + 0 Ctrl + Alt + 0
Fit All Command + Shift + 0 Ctrl + Shift + 0
Fit Width Command + Opt + Shift + 0 Ctrl + Alt + Shift + 0
Increase Font Size Command + + Ctrl + +
Decrease Font Size Command + - Ctrl + -
Restore Font Size Command + 0 Ctrl + 0

Table shortcuts




Insert Table

Command + Opt + T

Ctrl + Alt + T

Merge Cells

Command + Opt + M

Ctrl + Alt + M

Split Cell

Command + Opt + Shift + T

Ctrl + Alt + Shift + T

Insert Row

Command + M

Ctrl + M

Insert Column

Command + Shift + A

Ctrl + Shift + A

Delete Row

Command + Shift + M

Ctrl + Shift + M

Delete Column

Command + Shift + -

Ctrl + Shift + -

Increase Column Span

Command + Shift + ]

Ctrl + Shift + ]

Decrease Column Span

Command + Shift + [

Ctrl + Shift + [

Site Management shortcuts




Get File

Cmd + Shift + B 

Ctrl + Alt + D

Check out File

Opt + Shift + Command + D

Ctrl + Alt + Shift + D

Put File

Cmd + Shift + U

Ctrl + Shift + U

Check in File

Opt + Shift + Command + U

Ctrl + Alt + Shift + U

Check Links Sitewide

Command + F8

Ctrl + F8

Show Page Titles

Command + Shift + T

Ctrl + Shift + T

Create a reference sheet for the current shortcut set

A reference sheet is a record of the current shortcut set. The information is stored in HTML table format. You can view the reference sheet in a web browser or print it.

  1. Select Edit > Keyboard Shortcuts (Windows) or Dreamweaver > Keyboard Shortcuts (Macintosh).
  2. Click the Export Set As HTML button, which is the third button in the set of four at the top of the dialog box.
  3. In the Save dialog box that appears, enter the name for the reference sheet, and select the appropriate location for saving the file.

Customize keyboard shortcuts

Use the Keyboard Shortcut Editor to create your own keyboard shortcuts, including keyboard shortcuts for code snippets. You can also remove shortcuts, edit existing shortcuts, and select a predetermined set of shortcuts in the Keyboard Shortcut Editor.

Create a keyboard shortcut

Create your own keyboard shortcuts, edit existing shortcuts, or select a predetermined set of shortcuts.

  1. Select Edit > Keyboard Shortcuts (Windows) or Dreamweaver > Keyboard Shortcuts (Macintosh).
  2. Set any of the following options and click OK:

    Current Set

    Allows you to choose a set of predetermined shortcuts included with Dreamweaver, or any custom set you’ve defined. The predetermined sets are listed at the top of the menu. For example, if you are familiar with the shortcuts found in HomeSite or BBEdit, you can use those shortcuts by choosing the corresponding predetermined set.


    Allows you to select a category of commands to edit. For example, you can edit menu commands, such as the Open command, or code editing commands, such as Balance Braces.


    To add or edit a keyboard shortcut for a code snippet, select Snippet from the Commands pop‑up menu.

    The command list

    Displays the commands associated with the category you selected from the Commands pop‑up menu, along with the assigned shortcuts. The Menu Commands category displays this list as a tree view that replicates the structure of the menus. The other categories list the commands by name (such as Quit Application), in a flat list.


    Displays all shortcuts assigned to the selected command.

    Add Item (+)

    Adds a shortcut to the current command. Click this button to add a blank line to the Shortcuts. Enter a new key combination and click Change to add a keyboard shortcut for this command. You can assign two different keyboard shortcuts for each command; if there are already two shortcuts assigned to a command, the Add Item button does nothing.

    Remove Item (-)

    Removes the selected shortcut from the list of shortcuts.

    Press Key

    Displays the key combination you enter when you’re adding or changing a shortcut.


    Adds the key combination shown in the Press Key to the list of shortcuts, or changes the selected shortcut to the specified key combination.

    Duplicate Set

    Duplicates the current set. Give the new set a name; the default name is the current set’s name with the word copy appended.

    Rename Set

    Renames the current set.

    Export as HTML File

    Saves the current set in an HTML table format for easy viewing and printing. You can open the HTML file in your browser and print the shortcuts for easy reference.

    Delete Set

    Deletes a set. (You cannot delete the active set.)

Remove a shortcut from a command

  1. Select Edit > Keyboard Shortcuts (Windows) or Dreamweaver > Keyboard Shortcuts (Macintosh).
  2. From the Commands pop‑up menu, select a command category.
  3. In the Commands list, select a command and then select a shortcut.
  4. Click the Remove Item (-) button.

Add a shortcut to a command

  1. Select Edit > Keyboard Shortcuts (Windows) or Dreamweaver > Keyboard Shortcuts (Macintosh).
  2. From the Commands pop‑up menu, select a command category.
  3. In the Commands list, select a command.

    To add a keyboard shortcut for a code snippet, select Snippet from the Commands pop‑up menu.

    The shortcuts assigned to the command appear in the Shortcuts.

  4. Prepare to add a shortcut by doing one of the following:
    • If there are fewer than two shortcuts already assigned to the command, click the Add Item (+) button. A new blank line appears in the Shortcuts and the insertion point moves to the Press Key.

    • If there are already two shortcuts assigned to the command, select one of them (that one gets replaced by the new shortcut). Then click in the Press Key.

  5. Press a key combination. The key combination appears in the Press Key.

    If there is a problem with the key combination (for example, if the key combination is already assigned to another command), an explanatory message appears just below the Shortcuts and you may be unable to add or edit the shortcut.

  6. Click Change. The new key combination is assigned to the command.

Edit an existing shortcut

  1. Select Edit > Keyboard Shortcuts (Windows) or Dreamweaver > Keyboard Shortcuts (Macintosh).
  2. From the Commands pop‑up menu, select a command category.
  3. In the Commands list, select a command and then select a shortcut to change.
  4. Click in the Press Key and enter a new key combination.
  5. To change the shortcut, click the Change button.


    If there is a problem with the key combination (for example, if the key combination is already assigned to another command), an explanatory message appears just below the Shortcuts field and you may be unable to add or edit the shortcut.

About keyboard shortcuts and non-U.S. keyboards

The default Dreamweaver keyboard shortcuts work primarily on U.S.-standardized keyboards. Keyboards from other countries (including those produced in the United Kingdom), may not provide the functionality necessary for using these shortcuts. If your keyboard does not support certain Dreamweaver-enabled shortcuts, Dreamweaver disables their functionality.

To customize keyboard shortcuts that work with non-U.S.-standardized keyboards, see “Changing keyboard shortcut mappings” in Extending Dreamweaver.

More like this


Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online