# 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)

![](https://2743975646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LriZ7WXXZykpg6_MQsw%2F-LropmXSjGmb--W48OXd%2F-LrorsVOMILvn_d4peAS%2Fswitch%20database.gif?alt=media\&token=a402ad76-26d9-49db-b523-caa008800297)

#### 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`**.

![](https://2743975646-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LriZ7WXXZykpg6_MQsw%2F-LsHOZs9DC528MvP6ijd%2F-LsHPmbUEuT0Fk5GbXLU%2Fswitch-connection.gif?alt=media\&token=fa745bbb-fa74-4b7a-9b88-c4ed0130b216)
