Getting started
Tabs
6 min read
In Versora, each open repository has its own tab, and Home is the fixed tab with the little house, at the start of the bar. You can have several repositories open at the same time and switch between them with the mouse or the keyboard. Each tab keeps the state of its repository: the selected commit, the open diff and the integrated terminal.
On the bar at the top of the window (or in a column on the left, with vertical tabs). Each tab shows:
| Element | What it shows |
|---|---|
| Colored strip | The color of the project's group on Home, when the group has a color. |
| Name | The repository folder name or the alias. |
| Branch | The current branch. |
| Dot | "Uncommitted changes". |
| × | "Close tab (Ctrl+W)". |
| Marks | A worktree icon, on worktree tabs, and a penguin on WSL repositories. |
Hover over the tab to see the full path and "Drag to reorder".
- Open a repository in a tab: click a project on Home, Ctrl+O or one of the Home cards (see Open, clone and create repositories).
- Switch tabs: click the tab or use the shortcuts below.
The default tab shortcuts:
| Shortcut | What it does |
|---|---|
| Ctrl+1 … Ctrl+8 | Goes to the tab in that position (Home doesn't count). A position without a tab does nothing. |
| Ctrl+9 | Goes to the last tab. |
| Ctrl+Tab | Next tab. Home is part of the cycle, as the first one. |
| Ctrl+Shift+Tab | Previous tab. |
| Ctrl+T | Goes to Home. |
| Ctrl+O | Opens a repository (choosing the folder). |
| Ctrl+W | Closes the active tab. |
| Ctrl+Shift+T | Reopens the last closed tab. |
| Ctrl+Alt+1 … Ctrl+Alt+9 | Opens the Home favorite in that position. See Home and projects. |
From the keyboard, the tab bar is a Tab stop: ← and → move between tabs, Enter or Space activate and Shift+F10 opens the tab menu.
- Opening a repository that is already in a tab only activates the existing tab: Versora never opens two tabs for the same folder.
- The tab shortcuts (Ctrl+1 to Ctrl+9, Ctrl+Tab) also work with the focus in the integrated terminal. With a dialog, a menu or the palette open, the position shortcuts do nothing.
All these shortcuts can be changed in Preferences › Keyboard shortcuts; the button tooltips then show the new keys. See Shortcuts.
- Click the tab and drag it left or right.
- A mark shows where it will go: dropping it on the left half of another tab puts it before that tab; on the right half, after it.
- Release it. The new order also applies to Ctrl+1 to Ctrl+9.
Home always stays at the start and doesn't move.
Closing a tab doesn't touch the repository: uncommitted changes stay on disk, and the project stays on Home.
- The tab's ×.
- Click the tab with the middle mouse button.
- Ctrl+W closes the active tab.
- Tab menu (right-click): Close tab, Close other tabs and Close tabs to the right.
- Palette (Ctrl+P): "Close tab".
- Click the tab's × (or use another of the ways above).
- Versora activates the neighboring tab. If it was the last one, it goes back to Home.
| Menu item | What it does | Available when |
|---|---|---|
| Close tab | Closes this tab. | Always |
| Close other tabs | Closes all of them except this one. | There's more than one tab |
| Close tabs to the right | Closes the tabs after this one. | This isn't the last one |
Use Reopen closed tab (see the next section) or Ctrl+Shift+T.
- If an integrated terminal of the tab is running a program besides the shell (for example, an
npm run dev), Versora asks first: Close the tab and end its terminals?, with "The terminal in loja-online is running node. Closing the tab ends its terminals and stops that program." Confirm with Close and end or cancel. - Without a busy terminal, the tab closes right away, without asking.
Brings back the tabs you closed in this session, from the most recent to the oldest. Versora remembers the last 10.
- Shortcut: Ctrl+Shift+T.
- Tab menu: Reopen closed tab.
- Palette (Ctrl+P): "Reopen closed tab".
- Press Ctrl+Shift+T. The last closed tab comes back and becomes active.
- Repeat to reopen the previous one, and so on.
- In the palette, the command appears unavailable with "no tab was closed this session". In the tab menu, the item is disabled.
- The list only applies to the session: when you close Versora, it's lost (the open tabs aren't; see "Remember tabs on reopen" below).
Rename tab… gives the project an alias: the new name appears on the tab, on Home and in the palette, and the real path stays in the tooltip. The folder and the repository don't change. It's the same alias as Set alias… on Home.
- Tab menu: Rename tab….
- Palette (Ctrl+P): "Rename tab (project alias)…".
- Home: Set alias… in the project menu.
- Right-click the tab and choose Rename tab….
- In Alias, type the name and click Save alias.
- To go back to the folder name, leave the field blank and save.
The details (limits, messages) are in "Project alias", in Home and projects.
Nothing.
Right-clicking a tab (or Shift+F10 with it focused) opens the tab menu.
| Item | What it does | Page |
|---|---|---|
| Close tab | Closes this tab. | — |
| Close other tabs | Closes all of them except this one. | — |
| Close tabs to the right | Closes the tabs after this one. | — |
| Reopen closed tab | Reopens the last closed tab. | — |
| Rename tab… | Gives the project an alias. | — |
| Add to favorites / Remove from favorites | Pins the project in Favorites, on Home. | Home and projects |
| Copy path | Copies the repository path. | — |
| Copy Versora link to the repository | Copies a versora:// link to the repository. | versora:// links |
| Show in file explorer | Opens the folder in File Explorer. | — |
| Open in external editor | Opens the folder in your editor. | External tools |
| Open terminal here | Opens the external terminal in the folder. | External tools |
| Optimize repository… | Size diagnosis and maintenance. | Repository |
| Contributors, activity and treemap | Repository analyses. | Inspection |
| Team commands / My commands | Custom commands (only when there are any). | Custom commands |
With this preference on, Versora reopens on startup the repositories that were in tabs when you closed it, in the same order, and goes back to the tab that was active.
Preferences › General, Tabs group, Remember tabs on reopen item, Reopen tabs from the last session switch.
| Option | What it does | Default |
|---|---|---|
| Reopen tabs from the last session | "On startup, reopens the repositories that were open in tabs when the app was closed. When off, the app always starts on Home." | On |
- The open tabs aren't included in Export settings: each computer has its own.
With many repositories open, horizontal tabs get narrow. Vertical tabs put the repository tabs in a column on the left, with room for the whole name and the branch.
- Preferences › Navigation and appearance › Tabs and projects, Vertical tabs item, Show tabs vertically switch.
- Palette (Ctrl+P): "Show tabs vertically" (and, with them on, "Show tabs horizontally").
- Turn on Show tabs vertically. The repository tabs move to a column on the left.
- Home stays on the little house in the top bar.
- To open another project, use Open project, at the end of the column ("Open another project (Ctrl+T)"), which takes you to Home.
- To change the column width, drag its right edge ("Drag to change the width").
In the column, everything works as with horizontal tabs: clicking activates, dragging up or down reorders, the middle button closes, right-clicking opens the tab menu, the × closes ("Close tab (Ctrl+W)"), the ↑ and ↓ arrows move between tabs and Shift+F10 opens the menu of the focused tab. The uncommitted changes dot and the group color strip appear as on the top tabs. The Ctrl+1 to Ctrl+8 shortcuts follow the column order, and Ctrl+9 goes to the last one.
| Option | What it does | Default |
|---|---|---|
| Show tabs vertically | Turns on vertical tabs. | Off |
| Column width | Adjusted by dragging the edge, from 150 to 380 pixels. | 210 pixels |
- In vertical tabs, a repository's worktrees appear indented under it. See Worktrees.
Vertical tabs and the width are included in Export settings.
The tabs of a repository and of its worktrees sit side by side, with a strip of the same color, and the integrated terminal follows the tab's worktree. Everything about it is in Worktrees.