> For the complete documentation index, see [llms.txt](https://docs.tableplus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tableplus.com/gui-tools/the-interface/multi-tabs-workspaces-windows.md).

# Multi Tabs / Workspaces / Windows

## Multiple Tabs

When you open a database object such as table, view, function, etc, TablePlus uses a tab to show it.

When you open a new database object within the same database:

* If the current object is modified, TablePlus will pin it to the current tab and the new object will be opened in a new tab.
* If the current object is not modified, the new object will replace the current object in the same tab.
* If you want to open a new object and immediately pin it to the current tab, double click on it.
* If you want to open the new object in the new tab disregard of the current tab, right click on the object and choose **`Open in new tab`**.

When you have multiple opening tabs, especially with multiple Query Editors, to better differentiate them, you can rename the tab by right clicking on the tab and choose **`Rename Tab`**.

* To open a new empty tab, press **`⌘ + T`**
* To close a tab:
  * Right click on the tab and choose Close tab
  * Or click on the close button of the tab
  * Or select to make the tab current and press **`⌘ + W`**&#x20;
* To close all other tabs and leave the selected tab opening, right click on the tab and choose **`Close other tabs`**
* To close all tabs on the right of the selected tab, right click on the tab and choose **`Close tabs to the right`**

## Open new database

#### Open in a new workspace

When you switch to a new database, TablePlus opens it in a new workspace, tabbed in the same window by default.

To open a new database in a new workspace:

* Press **`⌘ + K`** and double click on the database name
* Or you can use **`Open Anything`** (**`⌘ + P`**, type the database name, select and press Return)

![](/files/-LrorsVOMILvn_d4peAS)

#### Open in the current workspace

To open a new database in the current workspace, press **`⌘ + K`,** right-click on the database name and select **`Open in current workspace`**. TablePlus will open it and replace the current database.

#### Open in a new window

By default, switching between database of the same connection, TablePlus only uses multiple workspaces in the same working window. To move a current workspace to a new window, navigate to menu **`Window`** > **`Move Tab to new Window`**.

## Open new connection

#### Open in a new workspace

When you switch to a new connection, TablePlus opens a new workspace, tabbed in the same window by default.

To open a new connection, press **`⌘ + ⇧ + K`**, then double click on the connect name.

#### Open in a new window

To open another connection in a new window:

* Press **`⌘ + ⇧ + K`**, right-click on the connection and select Open in new window
* Or you can open a new window by **`⌘ + N`**, then open the new connection.

To move a current workspace to a new window, navigate to menu **`Window`** > **`Move Tab to new Window`**.

![](/files/-LsHPmbUEuT0Fk5GbXLU)
