# Split panes

## How to use split panes

{% tabs %}
{% tab title="macOS" %}

* Split panes to the right / down with `CMD-D` / `SHIFT-CMD-D` or in any direction by right-clicking on any Pane.
* Activate the Previous / Next Pane with `CMD-[` / `CMD-]` or by clicking a pane.
* Navigate among split panes with `OPT-CMD-ARROW`, the active pane will be marked with a triangle in the top corner.
* Toggle Maximize Pane with `CMD-SHIFT-ENTER`.
* Close the active Pane with `CMD-W`.
* You can also drag and drop panes. Click and drag a Pane’s header around a given tab, drag the Pane to the tab bar to move it to another Tab, or make it into a Tab.
  {% endtab %}

{% tab title="Windows" %}

* Split Panes to the right / down with `CTRL-SHIFT-D` / `CTRL-SHIFT-E` or in any direction by right-clicking on any Pane.
* Activate the Previous / Next Pane with `CTRL-SHIFT-{` / `CTRL-SHIFT-}` or by clicking a pane.
* Navigate among Split Panes with `CTRL-ALT-ARROW`, the active pane will be marked with a triangle in the top corner.
* Toggle Maximize Pane with `CTRL-SHIFT-ENTER`.
* Close the active Pane with `CTRL-SHIFT-W`.
* You can also drag and drop panes. Click and drag a Pane’s header around a given tab, drag the Pane to the tab bar to move it to another Tab, or make it into a Tab.
  {% endtab %}

{% tab title="Linux" %}

* Split Panes to the right / down with `CTRL-SHIFT-D` / `CTRL-SHIFT-E` or in any direction by right-clicking on any Pane.
* Activate the Previous / Next Pane with `CTRL-SHIFT-{` / `CTRL-SHIFT-}` or by clicking a pane.
* Navigate among Split Panes with `CTRL-ALT-ARROW`, the active pane will be marked with a triangle in the top corner.
* Toggle Maximize Pane with `CTRL-SHIFT-ENTER`.
* Close the active Pane with `CTRL-SHIFT-W`.
* You can also drag and drop panes. Click and drag a Pane’s header around a given tab, drag the Pane to the tab bar to move it to another Tab, or make it into a Tab.
  {% endtab %}
  {% endtabs %}

{% hint style="info" %}
You can quickly find all the **pane** shortcuts by using the [Command Palette](https://docs.warp.dev/terminal/command-palette). You can also remap the shortcuts to your liking. See [Custom Keyboard Shortcuts](https://docs.warp.dev/getting-started/keyboard-shortcuts#custom-keyboard-shortcuts) for more details.
{% endhint %}

### CTRL-TAB behavior

`CTRL-TAB` shortcut defaults to activate the previous / next [Tabs](https://docs.warp.dev/terminal/windows/tabs). You can configure the shortcut to cycle the most recent session, including any split panes, in **Settings** > **Features** > **Keys** > **Ctrl-Tab behavior**

## How split panes work

{% embed url="<https://www.loom.com/share/c1104b51cab848a9bef6792ec4fd8421?hide_owner=true&hide_share=true&hide_title=true&hideEmbedTopBar=true>" %}
Split Panes Demo
{% endembed %}

<figure><img src="https://4009768362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPsjNxoJ0NFCXW6rRdHH3%2Fuploads%2Fgit-blob-44512f81f876be15ad0a63749dc0740ddcc2e9cd%2Fsplit-panes-dragging-demo.gif?alt=media" alt=""><figcaption><p>Split Panes Drag and Drop Demo</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.warp.dev/terminal/windows/split-panes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
