Skip to content
Versora

Manual

Customization

Keyboard shortcuts

13 min read

On this page

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.

See all the shortcuts (F1 help)

The help lists every shortcut in effect, grouped, with a filter field.

Where to find it

  • Shortcut: F1 or Ctrl+/.
  • Palette (Ctrl+P): "Keyboard shortcuts".

Step by step

  1. Press F1. The "Keyboard shortcuts" window opens.
  2. Type part of the action's name or of the key in "Filter shortcuts".
  3. To change a key, click "Change keys…" (opens Preferences › Keyboard shortcuts).
  4. 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.

The shortcut editor

Where to find it

  • 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."

What's on the screen

ElementWhat it's for
"Search by action or key" fieldFilters 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" buttonYou 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…" buttonUndoes all the changes, with confirmation.
Each key's chipClick 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" badgeThe action differs from the default.
"conflict" badgeThe 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" badgeA 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" groupKeys 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.

Change a key

Step by step

  1. Open Preferences › Keyboard shortcuts.
  2. Find the action by name in the search field, for example "terminal".
  3. Click the current key's chip to change it, or the + to add another one.
  4. The recording panel shows "Press the key combination…". Press the new combination, for example Ctrl+Alt+T.
  5. If there's no conflict, press Enter or click Save. To give up, Esc or Cancel ("Enter saves · Esc cancels").
  6. 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.

Caveats and messages

  • "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.

Conflicts

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:

MessageWhat 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.

Step by step

  1. In the recording panel, press the first combination (for example Ctrl+K).
  2. 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)".
  3. 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.

Give a shortcut to a palette command

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.

Step by step

  1. In Preferences › Keyboard shortcuts, look for the command by name (the same as in the palette).
  2. It's in the Palette commands group. Click the + and record the key.
  3. 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.

Reset to default

  • 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.

How to undo

Key changes don't go into Ctrl+Z. Use the action's reset arrow or "Reset all to defaults…".

Where each shortcut applies

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.

PlaceWhen it applies
AnywhereAlways, Home included.
With a repository openWith a repository tab active.
In the graphWith the focus on the commit history (the graph).
In the changes panel and diffWith the focus on the list of changed files or on the diff.
In the commit messageWith the focus on the commit's summary or description.
In the conflict editorWith the conflict editor open.
In the interactive rebaseWith the interactive rebase screen open.
In the MR reviewWith a merge request review open.
In the branches reviewWith the branches review table open.
In the integrated terminalWith the focus on the integrated terminal.
In the pipelines screenWith a job log open.
In dialogsWith a dialog open.
In text fieldsWith 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.

Table of default shortcuts

The "While typing" column says whether the shortcut works with the focus in a text field. Actions marked fixed can't be changed.

ActionDefault keysWhere it appliesWhile typing
Open the command paletteCtrl+PAnywhereYes
Open the palette with commands onlyCtrl+Shift+PAnywhereYes
Open preferencesCtrl+,AnywhereYes
Show this helpF1 or Ctrl+/ (also Ctrl+Num /)AnywhereYes
Open a repositoryCtrl+OAnywhereYes
Go to HomeCtrl+TAnywhereYes
Close the tabCtrl+WAnywhereYes
Reopen the last closed tabCtrl+Shift+TAnywhereYes
Next tabCtrl+TabAnywhereYes
Previous tabCtrl+Shift+TabAnywhereYes
Go to tab 1 to 8Ctrl+1 … Ctrl+8AnywhereYes
Go to the last tabCtrl+9AnywhereYes
Open Home favorite 1 to 9Ctrl+Alt+1 … Ctrl+Alt+9AnywhereNo
Zoom inCtrl+= (also Ctrl++ and Ctrl+Num +)AnywhereYes
Zoom outCtrl+- (also Ctrl+Num -)AnywhereYes
Reset zoomCtrl+0 (also Ctrl+Num 0)AnywhereYes
Full screenF11AnywhereYes
Refresh the repositoryF5 or Ctrl+R (also Shift+F5, Ctrl+F5 and Ctrl+Shift+R)AnywhereYes
Undo the last operationCtrl+ZWith a repository openNo
RedoCtrl+Shift+Z or Ctrl+YWith a repository openNo
Show or hide the integrated terminalCtrl+`With a repository openYes
Open another terminalCtrl+Shift+`With a repository openYes
Open the external terminalAlt+TWith a repository openYes
Show the folder in File ExplorerAlt+OWith a repository openYes
Open in the external editorCtrl+Shift+EWith a repository openYes
Timeline (undo and named points)Alt+ZWith a repository openYes
Local history of filesAlt+HWith a repository openYes

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+'.

Graph and left panel

ActionDefault keysWhere it appliesWhile typing
Previous or next commit (fixed)↑ ↓In the graphNo
Next commit (like ↓)JIn the graphNo
Previous commit (like ↑)KIn the graphNo
Next commit in the same branch (first parent)Shift+JIn the graphNo
Previous commit in the same branch (child)Shift+KIn the graphNo
Go back in graph navigation (or the mouse's side "back" button)Alt+←With a repository openNo
Go forward in graph navigation (or the mouse's side "forward" button)Alt+→With a repository openNo
Extend the commit selection (fixed)Shift+↑ Shift+↓In the graphNo
First and last loaded commit (fixed)Home EndIn the graphNo
Search the historyCtrl+FIn the graphNo
Clear a multi-commit selection (fixed)EscIn the graphNo
Filter branches, tags and stashesCtrl+Alt+FWith a repository openYes

Changes, diff and commit

ActionDefault keysWhere it appliesWhile typing
Commit (from the commit message)Ctrl+EnterIn the commit messageYes
Stage all and commitCtrl+Shift+EnterWith a repository openOnly in the commit message
Go to the commit messageCtrl+Shift+MWith a repository openYes
Stage the selected fileSIn the changes panel and diffNo
Unstage the selected fileUIn the changes panel and diffNo
Stage all changesCtrl+Shift+SWith a repository openNo
Unstage all changesCtrl+Shift+UWith a repository openNo
Add the issue reference to the messageAlt+IIn the changes panel and diffYes
Paste a copied patch (opens the apply patch window) (fixed)Ctrl+VWith a repository openNo
Close the diff (or clear the selected lines) (fixed)EscIn the changes panel and diffYes

Conflicts, rebase, terminal and pipelines

ActionDefault keysWhere it appliesWhile typing
Next conflictAlt+↓In the conflict editorYes
Previous conflictAlt+↑In the conflict editorYes
Cancel editing the result (fixed)EscIn the conflict editorYes
Interactive rebase: move the commit upAlt+↑In the interactive rebaseNo
Interactive rebase: move the commit downAlt+↓In the interactive rebaseNo
Interactive rebase: pickPIn the interactive rebaseNo
Interactive rebase: rewordRIn the interactive rebaseNo
Interactive rebase: editEIn the interactive rebaseNo
Interactive rebase: squashSIn the interactive rebaseNo
Interactive rebase: fixupFIn the interactive rebaseNo
Interactive rebase: dropDIn the interactive rebaseNo
MR review: previous commitXIn the MR reviewNo
MR review: next commitCIn the MR reviewNo
MR review: mark or unmark the file as viewedVIn the MR reviewNo
Branches review: select the branch (fixed)SpaceIn the branches reviewYes
Branches review: extend the selection (fixed)Shift+↑ Shift+↓In the branches reviewYes
Branches review: select allCtrl+AIn the branches reviewNo
Branches review: show in graph (fixed)EnterIn the branches reviewYes
Branches review: archive or unarchiveAIn the branches reviewNo
Branches review: rebase the selectedRIn the branches reviewNo
Branches review: show fork pointFIn the branches reviewNo
Branches review: searchCtrl+F or / (also Num /)In the branches reviewNo
Search the terminalCtrl+Shift+FIn the integrated terminalYes
Copy in the terminal (Ctrl+C only copies with selected text; without a selection it interrupts) (fixed)Ctrl+Shift+C or Ctrl+CIn the integrated terminalYes
Paste in the terminal (fixed)Ctrl+V or Ctrl+Shift+VIn the integrated terminalYes
Search the job logCtrl+FIn the pipelines screenYes
Next or previous match in the job log (Enter and Shift+Enter in the search box) (fixed)Enter Shift+EnterIn the pipelines screenYes
Next match in the job logF3In the pipelines screenYes
Previous match in the job logShift+F3In the pipelines screenYes
ActionKeys
Move to the next or previous controlTab 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 downHome End PageUp PageDown
Activate the item (same as clicking)Enter Space
Open the context menu of the focused itemShift+F10 or the Menu key
Close the menu or dialog (focus goes back where it was)Esc

Dialogs (fixed)

ActionKeys
ConfirmEnter
Confirm from a multi-line fieldCtrl+Enter
Cancel and closeEsc

Text fields (fixed)

ActionKeys
Select allCtrl+A
CopyCtrl+C or Ctrl+Insert
CutCtrl+X or Shift+Delete
PasteCtrl+V or Shift+Insert
Undo typingCtrl+Z
Redo typingCtrl+Y or Ctrl+Shift+Z
Move or delete by wordCtrl+← Ctrl+→ Ctrl+Backspace Ctrl+Delete
Extend the selectionShift+← Shift+→ Shift+Home Shift+End Ctrl+Shift+← Ctrl+Shift+→
Delete a characterBackspace 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.

Keys and gestures that aren't in the map

These gestures always work and don't appear in the shortcut editor:

GestureWhat it doesDetails
Double-click a branch or tag (graph or panel)Checks it out.Checkout
Ctrl+click and Shift+click on commits in the graphSelect several commits.Multiple selection
Middle mouse button on a tabCloses the tab.Tabs
Mouse side buttonsGo back and forward through the graph selections.Graph navigation
Enter, Ctrl+Enter and Esc on the ghost branchCreate the branch and check it out, only create it, or cancel.Commit graph
Ctrl+Enter in an MR review commentSends the comment.MR review
Ctrl+click on the pipeline indicatorOpens the pipeline in the browser, instead of the app's pipelines screen.Pipelines
A letter with a menu openGoes 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 keymap in preferences_hidden or preferences_locked. When locked, the page shows the shortcuts but doesn't let you change them. See Policy keys.

See also