Skip to content

Use Shortcuts and actions

Split panes, switch workspaces, and reach a waiting agent from the keyboard. Find the default shortcuts below, then use the names in the Action column to customize them in paneflow.json.

Cmd/Ctrl means Cmd on macOS and Ctrl on Linux or Windows.

Essential shortcuts

  • Split a pane: Cmd/Ctrl+Shift+D or Cmd/Ctrl+Shift+E.
  • Focus a neighboring pane: Alt+Arrow.
  • Select a workspace: Cmd/Ctrl+1-9.
  • Open a project file: Cmd/Ctrl+P.
  • Reach the next waiting agent: Cmd/Ctrl+Shift+J.
  • Move between shell prompts: Cmd/Ctrl+Shift+Up/Down.

Arrow means an arrow key. Moving between shell prompts requires shell integration (shell_integration).

Action reference

The Scope column shows where each shortcut applies. The same key combination can trigger a different action depending on the focused pane: Ctrl+Shift+C copies text in a terminal pane and Markdown in a Markdown pane. Search actions apply while the corresponding search is active.

ScopeActionShortcut
Panes and tabs
Panes and tabssplit_horizontallyCmd/Ctrl+Shift+D
Panes and tabssplit_verticallyCmd/Ctrl+Shift+E
Panes and tabsclose_paneCmd/Ctrl+Shift+W
Panes and tabsundo_close_paneCmd/Ctrl+Shift+T
Panes and tabsnew_tabCmd/Ctrl+Alt+T
Panes and tabsclose_tabCmd/Ctrl+W
Panes and tabsnext_tabCmd/Ctrl+]
Panes and tabsprevious_tabCmd/Ctrl+[
Panes and tabstoggle_zoomCmd/Ctrl+Shift+Z
Panes and tabstoggle_detached_paneCmd/Ctrl+Alt+Shift+D
Panes and tabssplit_equalizeCmd/Ctrl+Shift+=
Pane focus
Pane focusfocus_leftAlt+Left
Pane focusfocus_rightAlt+Right
Pane focusfocus_upAlt+Up
Pane focusfocus_downAlt+Down
Layouts
Layoutslayout_even_horizontalCmd/Ctrl+Alt+1
Layoutslayout_even_verticalCmd/Ctrl+Alt+2
Layoutslayout_main_verticalCmd/Ctrl+Alt+3
Layoutslayout_tiledCmd/Ctrl+Alt+4
Workspaces
Workspacesnew_workspaceCmd/Ctrl+Shift+N
Workspacesclose_workspaceCmd/Ctrl+Shift+Q
Workspacesnext_workspaceCtrl+Tab
Workspacesnext_spaceCmd+Alt+Right(macOS)
Workspacesnext_spaceCtrl+Alt+PageDown(Linux, Windows)
Workspacesprevious_spaceCmd+Alt+Left(macOS)
Workspacesprevious_spaceCtrl+Alt+PageUp(Linux, Windows)
Workspacesjump_next_waitingCmd/Ctrl+Shift+J
Workspacesfocus_workspaces_sidebarCmd/Ctrl+Alt+S
Workspacesselect_workspace_1Cmd/Ctrl+1
Workspacesselect_workspace_2Cmd/Ctrl+2
Workspacesselect_workspace_3Cmd/Ctrl+3
Workspacesselect_workspace_4Cmd/Ctrl+4
Workspacesselect_workspace_5Cmd/Ctrl+5
Workspacesselect_workspace_6Cmd/Ctrl+6
Workspacesselect_workspace_7Cmd/Ctrl+7
Workspacesselect_workspace_8Cmd/Ctrl+8
Workspacesselect_workspace_9Cmd/Ctrl+9
Workspacescopy_workspace_pathCtrl+Shift+Alt+C
Workspacesreveal_workspace_in_file_managerCtrl+Alt+R
Workspacesopen_workspace_in_zedCtrl+Alt+Z
Workspacesopen_workspace_in_cursorCtrl+Alt+C
Workspacesopen_workspace_in_vscodeCtrl+Alt+V
Workspacesopen_workspace_in_webstormCtrl+Alt+W
App views
App viewstoggle_files_sidebarCmd/Ctrl+Alt+F
App viewstoggle_diff_dockCmd/Ctrl+Alt+B
App viewstoggle_diff_dock_maximizeCmd/Ctrl+Alt+M
App viewsopen_file_finderCmd/Ctrl+P
App viewsopen_command_paletteCmd/Ctrl+Shift+P
App viewsopen_settingsCmd/Ctrl+,
Dock (outside terminals, text fields, and the code editor)
Dock (outside terminals, text fields, and the code editor)diff_new_file_tabCmd/Ctrl+G
Dock (outside terminals, text fields, and the code editor)diff_new_terminal_tabCmd/Ctrl+J
Terminal pane
Terminal paneterminal_copyCtrl+Shift+C
Terminal paneterminal_pasteCtrl+Shift+V
Terminal paneterminal_pasteCtrl+V(Linux, Windows)
Terminal paneterminal_copyCmd+C(macOS)
Terminal paneterminal_pasteCmd+V(macOS)
Terminal paneterminal_select_allCtrl+Shift+A
Terminal paneterminal_select_allCmd+A(macOS)
Terminal panescroll_page_upShift+PageUp
Terminal panescroll_page_downShift+PageDown
Terminal panejump_prev_promptCmd/Ctrl+Shift+Up
Terminal panejump_next_promptCmd/Ctrl+Shift+Down
Terminal paneinsert_pathCmd/Ctrl+Shift+I
Terminal paneclear_scroll_historyCmd/Ctrl+Shift+K
Terminal paneclear_scroll_historyCmd+K(macOS)
Terminal panereset_terminalCmd/Ctrl+Shift+R
Terminal panetoggle_searchCtrl+Shift+F
Terminal panetoggle_searchCmd+F(macOS)
Terminal panefont_size_increaseCmd/Ctrl+=
Terminal panefont_size_decreaseCmd/Ctrl+-
Terminal panefont_size_resetCmd/Ctrl+0
Search overlay
Search overlaysearch_nextEnter
Search overlaysearch_prevShift+Enter
Search overlaysearch_nextDown
Search overlaysearch_prevUp
Search overlaysearch_nextTab
Search overlaysearch_prevShift+Tab
Search overlaydismiss_searchEscape
Search overlaytoggle_search_regexAlt+R
Search overlaytoggle_fleet_searchAlt+F
Markdown pane
Markdown panemarkdown_scroll_page_upShift+PageUp
Markdown panemarkdown_scroll_page_downShift+PageDown
Markdown panemarkdown_find_openCtrl+F
Markdown panemarkdown_copyCtrl+Shift+C
Markdown panemarkdown_find_nextEnter
Markdown panemarkdown_find_prevShift+Enter
Markdown panemarkdown_find_dismissEscape
Application
ApplicationquitCmd/Ctrl+Q
Actions without a default shortcut
App viewsclose_windowClose the active window.
Workspacesnew_spaceCreate a space and open its name for editing in Settings > Spaces.
Workspacesmove_workspace_to_spacePick another space for the shown workspace in the command palette.
Terminal panefork_conversationFork the agent conversation into a split.
Terminal paneaccept_conversation_noticeRun the action of the pane's conversation notice.
Terminal panedismiss_conversation_noticeDismiss the pane's conversation notice.

jump_next_waiting goes through the agents that need you, in the order of the sidebar's Agents section: agents waiting for input first, then agents in an error state, then finished agents whose result you have not seen yet, the most recent first within each group. It covers every workspace, the active space first, whether the Agents section is shown, collapsed, or hidden, and wraps around at the end. After focus_workspaces_sidebar, the arrow keys, Home, and End move through the workspace tree and on into the Agents section, and Enter opens the selected agent's pane. Shift+F10, or the Menu key on keyboards that have one, opens the context menu of the selected workspace or tab, the same menu as a right click, and the arrow keys, Enter, and Escape work inside it.

open_file_finder applies outside terminal panes and text fields. It lists the files you opened recently and searches the whole project, then opens the file you pick in the dock. toggle_diff_dock opens and closes the Changes dock, like the toggle at the right of the title bar.

open_workspace_in_webstorm replaced open_workspace_in_windsurf on Ctrl+Alt+W in 0.20.0. A custom binding to open_workspace_in_windsurf no longer resolves: rebind it to open_workspace_in_webstorm.

In a file tab, the code editor has keys of its own that are not actions in the table: Cmd+F on macOS and Ctrl+F on Linux and Windows open the find bar, Cmd/Ctrl+Shift+M comments the selection or the caret's line, and Cmd/Ctrl+Enter sends that comment to an agent.

next_space and previous_space go through Default and then the spaces in their paneflow.json order, and wrap around at the end. They do nothing until you create a space. On a laptop without dedicated PageUp and PageDown keys, remap them, for example "ctrl+alt+]": "next_space" and "ctrl+alt+[": "previous_space", or use Switch space in the command palette.

Customize a shortcut

You can change shortcuts in Keyboard Shortcuts in Paneflow settings, or edit paneflow.json directly.

In the file, add your shortcuts to the shortcuts object:

  1. Use the key combination as the key, in lowercase.
  2. Copy the action name from the table without translating it.
  3. Save the file. Paneflow reloads shortcuts automatically.
{
  "shortcuts": {
    "secondary+shift+t": "new_tab",
    "alt+1": "select_workspace_1"
  }
}

secondary means Cmd on macOS and Ctrl on Linux or Windows. You can also use cmd or ctrl explicitly. Both + and - separators work: ctrl+shift+t and ctrl-shift-t name the same key combination.

This example assigns Cmd/Ctrl+Shift+T to opening a tab and Alt+1 to selecting the first workspace. Cmd/Ctrl+Shift+T therefore replaces its default action of reopening a closed pane.

When you assign a shortcut to an action, that action's default shortcuts are removed. If the key combination belonged to another default action, it is reassigned too. Keep one entry per key combination, even if you change the separators or modifier order. The action still determines where the shortcut applies.

To disable a default shortcut, use the value "none", for example "secondary+shift+d": "none". To restore a default shortcut, remove entries that disable it or reassign its key combination or action, then save the file.