Skip to content
PaneflowPaneflow

Shortcuts and actions

Find Paneflow keyboard shortcuts and customize their actions in paneflow.json.

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.
  • 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/CtrlShiftD
Panes and tabssplit_verticallyCmd/CtrlShiftE
Panes and tabsclose_paneCmd/CtrlShiftW
Panes and tabsundo_close_paneCmd/CtrlShiftT
Panes and tabsnew_tabCmd/CtrlAltT
Panes and tabsclose_tabCmd/CtrlW
Panes and tabsnext_tabCmd/Ctrl]
Panes and tabsprevious_tabCmd/Ctrl[
Panes and tabstoggle_zoomCmd/CtrlShiftZ
Panes and tabstoggle_detached_paneCmd/CtrlAltShiftD
Panes and tabssplit_equalizeCmd/CtrlShift=
Panes and tabsswap_paneCmd/CtrlShiftS
Pane focus
Pane focusfocus_leftAltLeft
Pane focusfocus_rightAltRight
Pane focusfocus_upAltUp
Pane focusfocus_downAltDown
Layouts
Layoutslayout_even_horizontalCmd/CtrlAlt1
Layoutslayout_even_verticalCmd/CtrlAlt2
Layoutslayout_main_verticalCmd/CtrlAlt3
Layoutslayout_tiledCmd/CtrlAlt4
Workspaces
Workspacesnew_workspaceCmd/CtrlShiftN
Workspacesclose_workspaceCmd/CtrlShiftQ
Workspacesnext_workspaceCtrlTab
Workspacesjump_next_waitingCmd/CtrlShiftJ
Workspacesfocus_workspaces_sidebarCmd/CtrlAltS
Workspacesselect_workspace_1Cmd/Ctrl1
Workspacesselect_workspace_2Cmd/Ctrl2
Workspacesselect_workspace_3Cmd/Ctrl3
Workspacesselect_workspace_4Cmd/Ctrl4
Workspacesselect_workspace_5Cmd/Ctrl5
Workspacesselect_workspace_6Cmd/Ctrl6
Workspacesselect_workspace_7Cmd/Ctrl7
Workspacesselect_workspace_8Cmd/Ctrl8
Workspacesselect_workspace_9Cmd/Ctrl9
Workspacescopy_workspace_pathCtrlShiftAltC
Workspacesreveal_workspace_in_file_managerCtrlAltR
Workspacesopen_workspace_in_zedCtrlAltZ
Workspacesopen_workspace_in_cursorCtrlAltC
Workspacesopen_workspace_in_vscodeCtrlAltV
Workspacesopen_workspace_in_windsurfCtrlAltW
App views
App viewstoggle_files_sidebarCmd/CtrlAltF
App viewstoggle_diff_dock_maximizeCmd/CtrlAltM
App viewsopen_composerCmd/CtrlShiftSpace
App viewstoggle_broadcast_memberCmd/CtrlShiftB
App viewsopen_broadcast_groupsCmd/CtrlShiftM
App viewsopen_attention_queueCmd/CtrlShiftU
App viewsopen_command_paletteCmd/CtrlShiftP
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/CtrlG
Dock (outside terminals, text fields, and the code editor)diff_new_terminal_tabCmd/CtrlJ
Terminal pane
Terminal paneterminal_copyCtrlShiftC
Terminal paneterminal_pasteCtrlShiftV
Terminal paneterminal_pasteCtrlV(Linux, Windows)
Terminal paneterminal_copyCmdC(macOS)
Terminal paneterminal_pasteCmdV(macOS)
Terminal paneterminal_select_allCtrlShiftA
Terminal paneterminal_select_allCmdA(macOS)
Terminal panescroll_page_upShiftPageUp
Terminal panescroll_page_downShiftPageDown
Terminal panejump_prev_promptCmd/CtrlShiftUp
Terminal panejump_next_promptCmd/CtrlShiftDown
Terminal paneinsert_pathCmd/CtrlShiftI
Terminal paneclear_scroll_historyCmd/CtrlShiftK
Terminal paneclear_scroll_historyCmdK(macOS)
Terminal panereset_terminalCmd/CtrlShiftR
Terminal panetoggle_copy_modeCtrlShiftX
Terminal panetoggle_searchCtrlShiftF
Terminal panetoggle_searchCmdF(macOS)
Terminal panefont_size_increaseCmd/Ctrl=
Terminal panefont_size_decreaseCmd/Ctrl-
Terminal panefont_size_resetCmd/Ctrl0
Search overlay
Search overlaysearch_nextEnter
Search overlaysearch_prevShiftEnter
Search overlaysearch_nextDown
Search overlaysearch_prevUp
Search overlaysearch_nextTab
Search overlaysearch_prevShiftTab
Search overlaydismiss_searchEscape
Search overlaytoggle_search_regexAltR
Search overlaytoggle_fleet_searchAltF
Markdown pane
Markdown panemarkdown_scroll_page_upShiftPageUp
Markdown panemarkdown_scroll_page_downShiftPageDown
Markdown panemarkdown_find_openCtrlF
Markdown panemarkdown_copyCtrlShiftC
Markdown panemarkdown_find_nextEnter
Markdown panemarkdown_find_prevShiftEnter
Markdown panemarkdown_find_dismissEscape
Application
ApplicationquitCmd/CtrlQ
Actions without a default shortcut
App viewsclose_windowClose the active window.

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.
json
{
  "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.