# List of shortcuts

Press F2 or ? while using Polypane to quickly show a dropdown with all the shortcuts for easy reference.

_This page shows shortcuts for the current platform._

### Default browser functions

| Function | Shortcut |
| --- | --- |
| Focus Addressbar | ⌘ L / ⌥ D / F6 |
| Focus address bar in [Browse panel](/docs/browse/) | ⇧ ⌘ l / ⇧ ⌘ L / ⇧ F6 |
| Reload | ⌘ R / F5 / R |
| Reload CSS | ⌥ R |
| Empty cache and reload | ⇧ ⌘ R |
| Go back | Backspace / ⌥ Left |
| Go forward | ⇧ Backspace / ⌥ Right |
| Add tab | ⌘ T |
| Reopen last closed tab | ⇧ ⌘ T |
| Duplicate current tab | ⇧ ⌥ T |
| Close active tab | ⌘ W |
| Next tab | Ctrl Tab  
Ctrl Page Down  
⌘ ⌥ Right  
⇧ ⌘ \] _(macOS only)_ |
| Previous tab | ⇧ Ctrl Tab  
Ctrl Page Up  
⌘ ⌥ Left  
⇧ ⌘ \[ _(macOS only)_ |
| Open command bar | ⌘ K |
| Close Polypane | ⌘ Q |
| Toggle fullscreen | F11 |
| Show/Hide Address bar | ⇧ ⌘ H |
| Toggle [Dark mode](/docs/dark-and-light-mode/) | ⌘ I |
| Show getting started screen | F1 / ⌥ Home |
| Show shortcut overlay | F2 / ? |
| Close any open popovers | Esc |
| Search in panes | ⌘ F |
| Search HTML in panes | ⇧ ⌘ F |
| Copy current URL | ⌘ U |
| Copy current URL as Markdown | ⇧ ⌘ U |
| Open settings | ⌘ , |
| Hiding global menu bar (Linux only) | ⌥ m |

### Browse panel shortcuts

These shortcuts work when the Browse panel is focused:

| Function | Shortcut |
| --- | --- |
| Focus Addressbar | ⌘ L / ⌥ D / F6 |
| Reload | ⌘ R / F5 / R |
| Go back | Backspace / ⌥ Left |
| Go forward | ⇧ Backspace / ⌥ Right |
| Add tab | ⌘ T |
| Close active tab | ⌘ W |
| Next tab | Ctrl Tab  
Ctrl Page Down  
⌘ ⌥ Right  
⇧ ⌘ \] _(macOS only)_ |
| Previous tab | ⇧ Ctrl Tab  
Ctrl Page Up  
⌘ ⌥ Left  
⇧ ⌘ \[ _(macOS only)_ |

### Layouts

Polypane has four different [Layout modes](/docs/layouts/), you can toggle between. The default is Horizontal. While focus is inside a pane (it will have a blue border), these shortcuts are deactivated so you can type inside the pane. Click outside the pane to regain focus and use the shortcuts again.

| Function | Shortcut |
| --- | --- |
| Horizontal | H |
| Vertical | V |
| Focus | F |
| Full | B |
| Toggle between most recent used and horizontal | ⇧ ⌘ M |

#### Horizontal and Vertical layout navigation

| Function | Shortcut |
| --- | --- |
| Scroll to beginning | Home |
| Scroll to end | End |
| Scroll partially to the beginning by one view | Page Up |
| Scroll partially to the end by one view | Page Down |
| Hold to drag in the horizontal and vertical layouts | Space |

### Pane management

| Function | Shortcut |
| --- | --- |
| [New pane](/docs/pane-management/) | ⌘ N |
| Randomly resize all panes | ⇧ ⌘ N |
| Create panes from [CSS breakpoints](/docs/breakpoints/) | ⌘ B |
| Rotate all panes | ⌘ ⌥ R |
| Apply [workspace](/docs/workspaces/) (1 through 9) | ⌘ 1-9 |
| Save panes to [workspace](/docs/workspaces/) (1 through 9) | ⇧ ⌘ 1-9 |

### Development shortcuts

| Function | Shortcut |
| --- | --- |
| Open [Elements Panel](/docs/elements-panel/) or [Chromium Devtools](/docs/devtools-panel/) (depending on config) | ⇧ ⌘ I / ⌘ ⌥ I / F12 / ⇧ ⌥ I |
| Inspect element in [selected devtools](/docs/devtools-panel/#using-the-chromium-developer-tools-by-default) | ⇧ ⌘ C |
| Open and focus [Console Panel](/docs/console/) | ⇧ ⌘ J / ⌘ ⌥ J (on macOS) |
| Toggle [Panel](/docs/intro-to-panel/) | ⇧ ⌘ P |
| Toggle between last two [Panel](/docs/intro-to-panel/) locations | ⌘ ⌥ P |
| [Color picker](/docs/color-picker/) | ⇧ ⌥ P |
| [Overview screenshot](/docs/making-screenshots/) | ⌘ P |
| Toggle [synced scrolling](/docs/synced-interactions/#scroll-syncing) | ⌘ O |
| Toggle [layout debugging](/docs/layout-debugging/) | ⌘ D |
| Reload all [debug tools](/docs/debug-overlays/) | ⇧ ⌘ D |
| Toggle [rulers](/docs/rulers-grids-and-guides/) | ⌘ G |
| Clear [console](/docs/console/) (only when console is open) | ⇧ ⌘ K |
| Toggle visibility of element (only when Elements panel is open) | Ctrl h |

### Zooming

[Global Zooming](/docs/global-zoom/) for the entire workspace.

| Function | Shortcut |
| --- | --- |
| Zoom in | ⌘ + |
| Zoom out | ⌘ - |
| Reset zoom to 100% | ⌘ 0 |
| Zoom to fit | ⇧ ⌘ 0 |

### Page Zooming

[Page zoom](/docs/browser-features/#zoom-pages-in-and-out) Page zoom is set per domain, so is applied to all panes. To zoom the text in the Polypane UI instead, use "Adjust Text Size…" in the View menu.

| Function | Shortcut |
| --- | --- |
| Zoom in | ⌘ ⌥ + |
| Zoom out | ⌘ ⌥ - |
| Reset zoom to 100% | ⌘ ⌥ 0 |

_Page zoom does not work for panes with Mobile rendering emulation enabled._

### Element Panel DOM view

When the DOM tree view has focus, you can use the arrow keys to navigate through the elements:

| Function | Shortcut |
| --- | --- |
| Move to the next element in list | Down |
| Move to the previous element in list | Up |
| Expand the selected element/focus first child element | Right |
| Collapse the selected element/focus parent element | Left |
| Hide the selected element | h |
| Delete the selected element | Del |

### Mouse interactions

Some mouse interactions change if you press certain keys:

| Function | Shortcut |  |
| --- | --- | --- |
| Inspect the element under your cursor with [Polypane peek](/docs/polypane-peek/) | ⌥ |  |
| Hold to maintain aspect ratio when resizing a pane | ⇧ | m |
| Hold to scale a pane instead of resizing it | ⌘ |  |
| Clear the cache and reload when clicking reload button | ⌘ |  |
| Zoom in and out while scrolling | ⌘ |  |
| Hold to click and drag in the horizontal and vertical layouts | Space |  |

### Screenshot editing shortcuts

During [screenshot editing](/docs/making-screenshots/#screenshot-editing), the following shortcuts are available:

| Tool | Shortcut |
| --- | --- |
| Arrow Tool | A |
| Line Tool | D |
| Path Tool | F |
| Pencil Tool | P |
| Rectangle Tool | R |
| Circle Tool | C |
| Marker Tool | M |
| Text Tool | T |
| Erase Tool | E |
| Sticker Tool | S |
| Redact Tool | B |
| Crop Tool | Z |
| Resize Tool | X |
| Trim Tool (video only) | Q |

And the following shortcuts are available to export the image:

| Function | Shortcut |
| --- | --- |
| Save screenshot | ⌘ S |
| Save screenshot as... | ⇧ ⌘ S |
| Copy to clipboard | ⌘ C |
| Open screenshot folder | ⌘ O |

## Customize the shortcuts

Polypane does not yet have support to change shortcuts. If shortcuts interfere with other apps, you can work around that with dedicated tools like [Hammerspoon](https://www.hammerspoon.org/) on macOS. You can also use Hammerspoon to create custom shortcuts for Polypane.

Here is an example Hammerspoon script that replaces ⌘ K to open the command bar with ⌥ K by using Applescript's access to the menu bar, but only when Polypane is focused.

```lua
local openPolypaneCommandBarAppleScript = [[
tell application "System Events"
  tell process "Polypane"
		activate
		click menu item "Open Command bar" of menu "View" of menu bar 1
	end tell
end tell
]]
local polypaneKeybinding = hs.hotkey.new({'option'}, 'k', function()
  hs.osascript.applescript(openPolypaneCommandBarAppleScript);
  hs.application.open('Polypane.app');
end)
local polypaneWindowFilter = hs.window.filter.new('Polypane')
polypaneWindowFilter:subscribe(hs.window.filter.windowFocused, function()
  polypaneKeybinding:enable()
end)
polypaneWindowFilter:subscribe(hs.window.filter.windowUnfocused, function()
  polypaneKeybinding:disable()
end)
```

---

Polypane is the browser built for developers and designers — try it at https://polypane.app.
