Customization
Keyboard shortcuts
13 min read
All of Versora's keys live in a single map. There you see what each key does, change the key of any action that isn't fixed and give a shortcut to any palette command, including your custom commands.
The keys in effect appear everywhere: in the shortcut help (F1), in the command palette and in the button tooltips. If you change a key, those screens already show the new one.
The help lists every shortcut in effect, grouped, with a filter field.
- Shortcut: F1 or Ctrl+/.
- Palette (Ctrl+P): "Keyboard shortcuts".
- Press F1. The "Keyboard shortcuts" window opens.
- Type part of the action's name or of the key in "Filter shortcuts".
- To change a key, click "Change keys…" (opens Preferences › Keyboard shortcuts).
- Close with Esc.
The help's groups are General, Palette commands (only the commands you gave a shortcut to), Navigation, Graph and left panel, Changes, diff and commit, Conflicts, rebase, terminal and pipelines and Dialogs. While the keys of a group of actions are at their defaults, they appear on a single line (for example, "Ctrl+1…8"). If you change one of them, the line expands into one line per action.
- Preferences › Keyboard shortcuts.
- Palette: "Keyboard shortcuts: change keys…".
- Shortcut help (F1): "Change keys…" button.
The top of the section explains: "Change the key of any app action or give a shortcut to a palette command. Changes apply right away, and the map is included when you export and import settings."
| Element | What it's for |
|---|---|
| "Search by action or key" field | Filters by the action's name, by the written key (for example, ctrl+shift) or by where it applies ("In the graph"). |
| "Search by key: press the combination" button | You press the combination and the list shows only the actions that use it. The field says "Press the keys to search for (Esc ends)". |
| "Show" picker | "All", "Changed by you", "With conflicts" or "With a shortcut". |
| "Reset all to defaults…" button | Undoes all the changes, with confirmation. |
| Each key's chip | Click to change that key ("Change Ctrl+P"). The chip's × removes the key ("Remove Ctrl+P"). |
| + button | "Add a key": the action gets one more combination. |
| Reset arrow | "Reset to default: …" shows that action's default keys and goes back to them. |
| "changed" badge | The action differs from the default. |
| "conflict" badge | The key also belongs to another action in the same place. Hover over it to see which one ("This key also belongs to another action in the same place: …"). |
| "not available now" badge | A palette command with a shortcut that doesn't exist at the moment (for example, a team command from another repository). The shortcut stays saved. |
| "Fixed keys" group | Keys that can't be changed, shown so that conflicts are clear. |
The actions appear in the General, Graph and left panel, Changes, diff and commit, Conflicts, rebase, terminal and pipelines and Palette commands groups. At the end, under the padlock, come the Fixed keys: Navigation, Dialogs and Text fields.
- Open Preferences › Keyboard shortcuts.
- Find the action by name in the search field, for example "terminal".
- Click the current key's chip to change it, or the + to add another one.
- The recording panel shows "Press the key combination…". Press the new combination, for example Ctrl+Alt+T.
- If there's no conflict, press Enter or click Save. To give up, Esc or Cancel ("Enter saves · Esc cancels").
- The notice confirms, for example "Show or hide the integrated terminal: Ctrl+Alt+T".
To remove a key, click the chip's ×. The notice says "‹action›: ‹key› removed". An action can be left "no shortcut" and still be available from the palette and the menus.
- "This action already has that key.": the combination already belongs to this action.
- "Key without Ctrl or Alt: it doesn't work while you type in a text field or in the terminal.": a warning (not an error) when you choose a letter alone or Shift+letter. The key works in lists, in the graph and in the diff, but not while the focus is in a text field.
- "‹key› is a fixed key: “‹action›” (‹place›). Pick another one.": the combination belongs to a fixed key and can't be used.
Two actions conflict when the same key would trigger both in the same place. Versora knows where each action applies: the S for staging (changes panel) and the S for squash (interactive rebase) live together, because the graph, the interactive rebase, the conflict editor, the MR review, the branches review and the pipelines screen take up the central area one at a time. A shortcut that applies "Anywhere", on the other hand, competes for the key with all the others.
When you record a key, the panel explains the conflict right away:
| Message | What it means |
|---|---|
| "‹key› is already used by “‹action›” (‹place›)." | The same combination belongs to another action that applies in the same place. |
| "‹key› alone is already used by “‹action›” (‹place›): the chord would never get to its second key." | The chord starts with a key that another action uses on its own. That one would fire first. |
| "‹key› starts the chord ‹chord› of “‹action›” (‹place›)." | The key you chose is the first one of another action's chord. |
And it offers:
- Remove it there and save: the key leaves the other action and stays on this one.
- Swap: ‹old key› goes to ‹action›: the two actions swap keys. It only appears when you're changing a key (not adding one) and the conflict is with the same combination.
- "Can't swap: ‹key› would also conflict in ‹action›.": the swap would create another conflict. Choose another combination.
To review everything, choose "With conflicts" in the Show picker.
A chord is a shortcut made of two combinations in a row, such as Ctrl+K Ctrl+S. It multiplies the available shortcuts without requiring four-key combinations.
- In the recording panel, press the first combination (for example Ctrl+K).
- Right after, press the second one (for example Ctrl+S). The panel's hint says "Enter saves · Esc cancels · a second combination makes a chord (e.g. Ctrl+K Ctrl+S)".
- Press Enter to save.
- A chord has to start with Ctrl or Alt. Otherwise "A chord has to start with Ctrl or Alt (e.g. Ctrl+K Ctrl+S)." appears.
- Only palette commands and the app actions that also exist as palette commands (opening preferences, going to Home, undo, showing the terminal, searching the history, staging all and others) accept chords. For the others, the panel's hint doesn't mention chords and a second combination simply replaces the first.
- If the first combination has neither Ctrl nor Alt, the second one also replaces it instead of forming a chord.
- When you use the chord, the first combination shows the notice "‹key› was pressed. Waiting for the second key of the chord…". If the second one doesn't complete any chord, "‹chord› isn't a shortcut." appears.
Any palette command can get a key: "Fetch", "Force push…", "Gitflow: initialize…", "Show all branches in the graph", a custom command of yours or of the team.
- In Preferences › Keyboard shortcuts, look for the command by name (the same as in the palette).
- It's in the Palette commands group. Click the + and record the key.
- From then on, the key appears next to the command in the palette and in the help (F1).
- "Palette commands work anywhere, except in the integrated terminal and with a dialog open. While you type in a text field, only combinations with Ctrl and the F keys work."
- With no repository open, the group shows only the commands that exist without a repository: "Open a repository to also see the commands that only exist with a repository open."
- The shortcut follows the same rules as clicking in the palette. If the command can't run right now, the reason appears, such as "Pop the latest stash: there is no stash.". If it doesn't exist at the moment, "“‹command›” isn't available right now." appears.
- Custom commands have a stable id (
custom:user:…for yours,custom:team:…for the team's). That's why the shortcut keeps working when you rename the command.
- A single action: click the arrow next to it ("Reset to default: …"). If the action had no default key, the tooltip says "Reset to default: no shortcut".
- All: click "Reset all to defaults…". The "Reset all shortcuts to the defaults?" window says how many changes will be undone ("This undoes N changes you made (app actions and palette commands).") and asks for Reset to defaults. At the end, "Shortcuts are back to the defaults." appears. With no changes at all, "No shortcut has been changed." appears.
Key changes don't go into Ctrl+Z. Use the action's reset arrow or "Reset all to defaults…".
Each action has a place. The places form a hierarchy: what applies "Anywhere" also applies inside the others, and what applies "With a repository open" applies in the graph, the changes panel, the conflict editor and so on.
| Place | When it applies |
|---|---|
| Anywhere | Always, Home included. |
| With a repository open | With a repository tab active. |
| In the graph | With the focus on the commit history (the graph). |
| In the changes panel and diff | With the focus on the list of changed files or on the diff. |
| In the commit message | With the focus on the commit's summary or description. |
| In the conflict editor | With the conflict editor open. |
| In the interactive rebase | With the interactive rebase screen open. |
| In the MR review | With a merge request review open. |
| In the branches review | With the branches review table open. |
| In the integrated terminal | With the focus on the integrated terminal. |
| In the pipelines screen | With a job log open. |
| In dialogs | With a dialog open. |
| In text fields | With the focus on a text field. |
In text fields, a combination that types (a letter alone, Shift+letter) never triggers a shortcut. That's why S, U, J and K don't get in the way of whoever is writing the commit message.
In the integrated terminal, only the keys marked for it pass through to the app: the palette, preferences, switching tabs, zoom, full screen, the external editor and the terminal's own keys. The help only opens with F1, because Ctrl+/ belongs to the shell.
The "While typing" column says whether the shortcut works with the focus in a text field. Actions marked fixed can't be changed.
| Action | Default keys | Where it applies | While typing |
|---|---|---|---|
| Open the command palette | Ctrl+P | Anywhere | Yes |
| Open the palette with commands only | Ctrl+Shift+P | Anywhere | Yes |
| Open preferences | Ctrl+, | Anywhere | Yes |
| Show this help | F1 or Ctrl+/ (also Ctrl+Num /) | Anywhere | Yes |
| Open a repository | Ctrl+O | Anywhere | Yes |
| Go to Home | Ctrl+T | Anywhere | Yes |
| Close the tab | Ctrl+W | Anywhere | Yes |
| Reopen the last closed tab | Ctrl+Shift+T | Anywhere | Yes |
| Next tab | Ctrl+Tab | Anywhere | Yes |
| Previous tab | Ctrl+Shift+Tab | Anywhere | Yes |
| Go to tab 1 to 8 | Ctrl+1 … Ctrl+8 | Anywhere | Yes |
| Go to the last tab | Ctrl+9 | Anywhere | Yes |
| Open Home favorite 1 to 9 | Ctrl+Alt+1 … Ctrl+Alt+9 | Anywhere | No |
| Zoom in | Ctrl+= (also Ctrl++ and Ctrl+Num +) | Anywhere | Yes |
| Zoom out | Ctrl+- (also Ctrl+Num -) | Anywhere | Yes |
| Reset zoom | Ctrl+0 (also Ctrl+Num 0) | Anywhere | Yes |
| Full screen | F11 | Anywhere | Yes |
| Refresh the repository | F5 or Ctrl+R (also Shift+F5, Ctrl+F5 and Ctrl+Shift+R) | Anywhere | Yes |
| Undo the last operation | Ctrl+Z | With a repository open | No |
| Redo | Ctrl+Shift+Z or Ctrl+Y | With a repository open | No |
| Show or hide the integrated terminal | Ctrl+` | With a repository open | Yes |
| Open another terminal | Ctrl+Shift+` | With a repository open | Yes |
| Open the external terminal | Alt+T | With a repository open | Yes |
| Show the folder in File Explorer | Alt+O | With a repository open | Yes |
| Open in the external editor | Ctrl+Shift+E | With a repository open | Yes |
| Timeline (undo and named points) | Alt+Z | With a repository open | Yes |
| Local history of files | Alt+H | With a repository open | Yes |
Tip
The terminal key is the backtick, to the left of 1. On the Brazilian ABNT2 keyboard, the key in that position is the apostrophe: the shortcut becomes Ctrl+'.
| Action | Default keys | Where it applies | While typing |
|---|---|---|---|
| Previous or next commit (fixed) | ↑ ↓ | In the graph | No |
| Next commit (like ↓) | J | In the graph | No |
| Previous commit (like ↑) | K | In the graph | No |
| Next commit in the same branch (first parent) | Shift+J | In the graph | No |
| Previous commit in the same branch (child) | Shift+K | In the graph | No |
| Go back in graph navigation (or the mouse's side "back" button) | Alt+← | With a repository open | No |
| Go forward in graph navigation (or the mouse's side "forward" button) | Alt+→ | With a repository open | No |
| Extend the commit selection (fixed) | Shift+↑ Shift+↓ | In the graph | No |
| First and last loaded commit (fixed) | Home End | In the graph | No |
| Search the history | Ctrl+F | In the graph | No |
| Clear a multi-commit selection (fixed) | Esc | In the graph | No |
| Filter branches, tags and stashes | Ctrl+Alt+F | With a repository open | Yes |
| Action | Default keys | Where it applies | While typing |
|---|---|---|---|
| Commit (from the commit message) | Ctrl+Enter | In the commit message | Yes |
| Stage all and commit | Ctrl+Shift+Enter | With a repository open | Only in the commit message |
| Go to the commit message | Ctrl+Shift+M | With a repository open | Yes |
| Stage the selected file | S | In the changes panel and diff | No |
| Unstage the selected file | U | In the changes panel and diff | No |
| Stage all changes | Ctrl+Shift+S | With a repository open | No |
| Unstage all changes | Ctrl+Shift+U | With a repository open | No |
| Add the issue reference to the message | Alt+I | In the changes panel and diff | Yes |
| Paste a copied patch (opens the apply patch window) (fixed) | Ctrl+V | With a repository open | No |
| Close the diff (or clear the selected lines) (fixed) | Esc | In the changes panel and diff | Yes |
| Action | Default keys | Where it applies | While typing |
|---|---|---|---|
| Next conflict | Alt+↓ | In the conflict editor | Yes |
| Previous conflict | Alt+↑ | In the conflict editor | Yes |
| Cancel editing the result (fixed) | Esc | In the conflict editor | Yes |
| Interactive rebase: move the commit up | Alt+↑ | In the interactive rebase | No |
| Interactive rebase: move the commit down | Alt+↓ | In the interactive rebase | No |
| Interactive rebase: pick | P | In the interactive rebase | No |
| Interactive rebase: reword | R | In the interactive rebase | No |
| Interactive rebase: edit | E | In the interactive rebase | No |
| Interactive rebase: squash | S | In the interactive rebase | No |
| Interactive rebase: fixup | F | In the interactive rebase | No |
| Interactive rebase: drop | D | In the interactive rebase | No |
| MR review: previous commit | X | In the MR review | No |
| MR review: next commit | C | In the MR review | No |
| MR review: mark or unmark the file as viewed | V | In the MR review | No |
| Branches review: select the branch (fixed) | Space | In the branches review | Yes |
| Branches review: extend the selection (fixed) | Shift+↑ Shift+↓ | In the branches review | Yes |
| Branches review: select all | Ctrl+A | In the branches review | No |
| Branches review: show in graph (fixed) | Enter | In the branches review | Yes |
| Branches review: archive or unarchive | A | In the branches review | No |
| Branches review: rebase the selected | R | In the branches review | No |
| Branches review: show fork point | F | In the branches review | No |
| Branches review: search | Ctrl+F or / (also Num /) | In the branches review | No |
| Search the terminal | Ctrl+Shift+F | In the integrated terminal | Yes |
| Copy in the terminal (Ctrl+C only copies with selected text; without a selection it interrupts) (fixed) | Ctrl+Shift+C or Ctrl+C | In the integrated terminal | Yes |
| Paste in the terminal (fixed) | Ctrl+V or Ctrl+Shift+V | In the integrated terminal | Yes |
| Search the job log | Ctrl+F | In the pipelines screen | Yes |
| Next or previous match in the job log (Enter and Shift+Enter in the search box) (fixed) | Enter Shift+Enter | In the pipelines screen | Yes |
| Next match in the job log | F3 | In the pipelines screen | Yes |
| Previous match in the job log | Shift+F3 | In the pipelines screen | Yes |
| Action | Keys |
|---|---|
| Move to the next or previous control | Tab Shift+Tab |
| Move between items in a list, menu or tab bar | ↑ ↓ ← → |
| Collapse or expand (left panel, file folders) | ← → |
| First and last item; one page up or down | Home End PageUp PageDown |
| Activate the item (same as clicking) | Enter Space |
| Open the context menu of the focused item | Shift+F10 or the Menu key |
| Close the menu or dialog (focus goes back where it was) | Esc |
| Action | Keys |
|---|---|
| Confirm | Enter |
| Confirm from a multi-line field | Ctrl+Enter |
| Cancel and close | Esc |
| Action | Keys |
|---|---|
| Select all | Ctrl+A |
| Copy | Ctrl+C or Ctrl+Insert |
| Cut | Ctrl+X or Shift+Delete |
| Paste | Ctrl+V or Shift+Insert |
| Undo typing | Ctrl+Z |
| Redo typing | Ctrl+Y or Ctrl+Shift+Z |
| Move or delete by word | Ctrl+← Ctrl+→ Ctrl+Backspace Ctrl+Delete |
| Extend the selection | Shift+← Shift+→ Shift+Home Shift+End Ctrl+Shift+← Ctrl+Shift+→ |
| Delete a character | Backspace Delete |
Caution
With the focus in a text field, Ctrl+Z undoes typing, not the last git operation. Click outside the field (or press Esc) before using the app's Ctrl+Z.
These gestures always work and don't appear in the shortcut editor:
| Gesture | What it does | Details |
|---|---|---|
| Double-click a branch or tag (graph or panel) | Checks it out. | Checkout |
| Ctrl+click and Shift+click on commits in the graph | Select several commits. | Multiple selection |
| Middle mouse button on a tab | Closes the tab. | Tabs |
| Mouse side buttons | Go back and forward through the graph selections. | Graph navigation |
| Enter, Ctrl+Enter and Esc on the ghost branch | Create the branch and check it out, only create it, or cancel. | Commit graph |
| Ctrl+Enter in an MR review comment | Sends the comment. | MR review |
| Ctrl+click on the pipeline indicator | Opens the pipeline in the browser, instead of the app's pipelines screen. | Pipelines |
| A letter with a menu open | Goes to the next menu item that starts with it. | Accessibility |
- The shortcut map is kept in Versora's storage and is included in exporting and importing settings. It only stores what differs from the default.
- IT can hide or lock the page with the id
keymapinpreferences_hiddenorpreferences_locked. When locked, the page shows the shortcuts but doesn't let you change them. See Policy keys.