# Keyboard shortcuts

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/help/go/2026.3/llms.txt).

> **TL;DR**
> Printable version of shortcuts in PDF:     [default keymap reference card (57 KB)](https://resources.jetbrains.com/storage/products/goland/docs/GoLand_ReferenceCard.pdf)
>
>
>
> Keymap configuration: open the Settings dialog `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Comma` (VSCode), `⌘ Comma` (VSCode (macOS)) and select Keymap

GoLand has [keyboard shortcuts](null) for most of its commands related to editing, navigation, refactoring, debugging, and other tasks. Memorizing these hotkeys can help you stay more productive by keeping your hands on the keyboard.

All default shortcuts are [configurable](configuring-keyboard-and-mouse-shortcuts.html) and you can also assign shortcuts to any action that does not have them by default.

For the predefined keymaps, refer to [Predefined macOS keymap](reference-keymap-mac-default.html) and [Predefined Windows keymap](reference-keymap-win-default.html).

> **Note:**
> If your keyboard does not have an English layout, GoLand may not detect all the shortcuts correctly.

The following table lists some of the most useful shortcuts to learn:

| Shortcut | Action |
| --- | --- |
| Double `Shift` (Windows), `Shift` (macOS), `Shift` (IntelliJ IDEA Classic (macOS)), `Shift` (macOS System Shortcuts), `Shift` (XWin), `Shift` (GNOME), `Shift` (KDE), `Shift` (Emacs), `Shift` (Sublime Text), `Shift` (Sublime Text (macOS)), `Shift` (VSCode), `Shift` (VSCode (macOS)) |    [Search Everywhere](searching-everywhere.html)                           Quickly find any file, action, type, symbol, tool window, or setting in GoLand, in your project, and in the current Git repository.                          |
| `Ctrl+Shift+A` (Windows), `⌘ ⇧ A` (macOS), `⌘ ⇧ A` (IntelliJ IDEA Classic (macOS)), `⌘ ⇧ P` (macOS System Shortcuts), `Ctrl+Shift+A` (XWin), `Ctrl+Shift+A` (GNOME), `Ctrl+Shift+A` (KDE), `Escape, X` (Emacs), `Ctrl+Shift+P` (Sublime Text), `⌘ ⇧ P` (Sublime Text (macOS)), `Ctrl+Shift+P` (VSCode), `F1` (VSCode (macOS)) |     [Find Action](searching-everywhere.html#find_action)                              Find a command and execute it, open a tool window, or search for a setting.    |
| `Alt+Enter` (Windows), `⌥ ⏎` (macOS), `⌥ ⏎` (IntelliJ IDEA Classic (macOS)), `⌥ ⏎` (macOS System Shortcuts), `Alt+Enter` (XWin), `Alt+Enter` (GNOME), `Alt+Enter` (KDE), `Alt+Enter` (Emacs), `Alt+Enter` (Sublime Text), `⌥ ⏎` (Sublime Text (macOS)), `Ctrl+.` (VSCode), `⌘ .` (VSCode (macOS)) |    [Show Context Actions](intention-actions.html)     Quick-fixes for highlighted errors and warnings, intention actions for improving and optimizing your code.    |
|     `F2` (Windows), `F2` (macOS), `F2` (IntelliJ IDEA Classic (macOS)), `⌃ Comma` (macOS System Shortcuts), `F2` (XWin), `F2` (GNOME), `F2` (KDE), `F2` (Emacs), `F2` (Sublime Text), `F2` (Sublime Text (macOS)), `Alt+F8` (VSCode), `⌥ F8` (VSCode (macOS))       `Shift+F2` (Windows), `⇧ F2` (macOS), `⇧ F2` (IntelliJ IDEA Classic (macOS)), `⌃ ⇧ Comma` (macOS System Shortcuts), `Shift+F2` (XWin), `Shift+F2` (GNOME), `Shift+F2` (KDE), `Shift+F2` (Emacs), `Shift+F2` (Sublime Text), `Shift+F2` (Sublime Text (macOS)), `Alt+Shift+F8` (VSCode), `⇧ F8` (VSCode (macOS))     |    [Navigate between code issues](navigating-through-the-source-code.html#navigate-errors-warnings)     Jump to the next or previous highlighted error.    |
| `Ctrl+E` (Windows), `⌘ E` (macOS), `⌘ E` (IntelliJ IDEA Classic (macOS)), `⌘ E` (macOS System Shortcuts), `Ctrl+E` (XWin), `Ctrl+E` (GNOME), `Ctrl+E` (KDE), `Ctrl+E` (Emacs), `Ctrl+E` (Sublime Text), `⌘ E` (Sublime Text (macOS)), `Ctrl+E` (VSCode), `⌘ E` (VSCode (macOS)) |    [View recent files](recent-files-and-changes.html#recent_files)     Select a recently opened file from the list.    |
|                              `Ctrl+W` (Windows), `⌥ ↑` (macOS), `⌘ W` (IntelliJ IDEA Classic (macOS)), `⌥ ↑` (macOS System Shortcuts), `Ctrl+W` (XWin), `Ctrl+W` (GNOME), `Ctrl+W` (KDE), `Ctrl+Alt+W` (Emacs), `Ctrl+Shift+Space` (Sublime Text), `⌘ ⇧ A` (Sublime Text (macOS)), `Alt+Shift+Right` (VSCode), `⌘ ⌃ ⇧ →` (VSCode (macOS))       `Ctrl+Shift+W` (Windows), `⌥ ↓` (macOS), `⌘ ⇧ W` (IntelliJ IDEA Classic (macOS)), `⌥ ↓` (macOS System Shortcuts), `Ctrl+Shift+W` (XWin), `Ctrl+Shift+W` (GNOME), `Ctrl+Shift+W` (KDE), `Ctrl+Shift+W` (Emacs), `Ctrl+Shift+W` (Sublime Text), `Ctrl+Shift+W` (Sublime Text (macOS)), `Ctrl+Shift+W` (VSCode), `⌘ ⌃ ⇧ ←` (VSCode (macOS))                      |      [Extend or shrink selection](working-with-source-code.html#editor_code_selection)                            Increase or decrease the scope of selection according to specific code constructs.    |
|     `Ctrl+/` (Windows), `⌘ /` (macOS), `⌘ /` (IntelliJ IDEA Classic (macOS)), `⌘ /` (macOS System Shortcuts), `Ctrl+/` (XWin), `Ctrl+/` (GNOME), `Ctrl+/` (KDE), `Alt+;` (Emacs), `Ctrl+/` (Sublime Text), `⌘ /` (Sublime Text (macOS)), `Ctrl+K, Ctrl+C` (VSCode), `⌘ K, ⌘ C` (VSCode (macOS))       `Ctrl+Shift+/` (Windows), `⌘ ⌥ /` (macOS), `⌃ ⇧ /` (IntelliJ IDEA Classic (macOS)), `⌘ ⌥ /` (macOS System Shortcuts), `Ctrl+Shift+/` (XWin), `Ctrl+Shift+/` (GNOME), `Ctrl+Shift+/` (KDE), `Ctrl+Shift+/` (Emacs), `Ctrl+Shift+/` (Sublime Text), `⌘ ⌥ /` (Sublime Text (macOS)), `Alt+Shift+A` (VSCode), `⌥ ⇧ A` (VSCode (macOS))     |      [Add/remove line or block comment](working-with-source-code.html#editor_lines_code_blocks)                            Comment out a line or block of code.    |
| `Alt+F7` (Windows), `⌥ F7` (macOS), `⌥ F7` (IntelliJ IDEA Classic (macOS)), `⌃ U` (macOS System Shortcuts), `Alt+F7` (XWin), `Alt+Shift+7` (GNOME), `Alt+Shift+7` (KDE), `Alt+F7` (Emacs), `Alt+F7` (Sublime Text), `⌥ F7` (Sublime Text (macOS)), `Alt+Shift+F12` (VSCode), `⌥ ⇧ F12` (VSCode (macOS)) |    [Find Usages](find-highlight-usages.html#find-usages)     Show all places where a code element is used across your project.     When you press (`Alt+F7` (Windows), `⌥ F7` (macOS), `⌥ F7` (IntelliJ IDEA Classic (macOS)), `⌃ U` (macOS System Shortcuts), `Alt+F7` (XWin), `Alt+Shift+7` (GNOME), `Alt+Shift+7` (KDE), `Alt+F7` (Emacs), `Alt+F7` (Sublime Text), `⌥ F7` (Sublime Text (macOS)), `Alt+Shift+F12` (VSCode), `⌥ ⇧ F12` (VSCode (macOS))), GoLand looks for usages of interface methods. To find usages of the current method, press `Ctrl+Alt+Shift+F7` (Windows), `⌘ ⌥ ⇧ F7` (macOS), `⌘ ⌥ ⇧ F7` (IntelliJ IDEA Classic (macOS)), `⌃ ⌥ ⇧ U` (macOS System Shortcuts), `Ctrl+Alt+Shift+7` (XWin), `Ctrl+Alt+Shift+7` (GNOME), `Ctrl+Alt+Shift+7` (KDE), `Ctrl+Alt+Shift+F7` (Emacs), `Ctrl+Alt+Shift+F7` (Sublime Text), `⌘ ⌥ ⇧ F7` (Sublime Text (macOS)), `Ctrl+Alt+Shift+F7` (VSCode), `⌘ ⌥ ⇧ F7` (VSCode (macOS)).    |

## Choose the right keymap

To view the keymap configuration, open the Settings dialog `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Comma` (VSCode), `⌘ Comma` (VSCode (macOS)) and select Keymap.

> **Warning:**
> Enable function keys and check for [possible conflicts](configuring-keyboard-and-mouse-shortcuts.html#conflicts) with global OS shortcuts.

### Use a predefined keymap

GoLand automatically suggests a predefined keymap based on your environment. Make sure that it matches the OS you are using or select the one that matches shortcuts from another IDE or editor you are used to (for example,

Emacs or Sublime  ).

When consulting this page and other pages in GoLand documentation, you can see keyboard shortcuts for the keymap that you use in the IDE — choose it using the selector at the top of a page.

### Install a keymap from a plugin

Besides the default set of keymaps, you can install keymaps from plugins (such as, keymaps for GNOME and KDE): open the Settings dialog `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Comma` (VSCode), `⌘ Comma` (VSCode (macOS)), select Plugins, and search for keymap.

### Tune your keymap

You can modify a copy of any predefined keymap to [assign your own shortcuts](configuring-keyboard-and-mouse-shortcuts.html#add-keyboard-shortcut) for commands that you use frequently.

### Import custom keymap

If you have a customized keymap that you are used to, you can [transfer it to your installation](configuring-keyboard-and-mouse-shortcuts.html#custom_keymap_location).

> **Tip:**
> If your keymap stopped working after an update, it is likely that the keymap is not available by default in the new version of GoLand. Find this keymap as a plugin and install it on the [Plugins page](plugins-settings.html) as described in [Extend the IDE with plugins](managing-plugins.html).

## Learn shortcuts as you work

GoLand provides several possibilities to learn shortcuts:

* The [Find Action](searching-everywhere.html) lets you search for commands and settings across all menus and tools. Press `Ctrl+Shift+A` (Windows), `⌘ ⇧ A` (macOS), `⌘ ⇧ A` (IntelliJ IDEA Classic (macOS)), `⌘ ⇧ P` (macOS System Shortcuts), `Ctrl+Shift+A` (XWin), `Ctrl+Shift+A` (GNOME), `Ctrl+Shift+A` (KDE), `Escape, X` (Emacs), `Ctrl+Shift+P` (Sublime Text), `⌘ ⇧ P` (Sublime Text (macOS)), `Ctrl+Shift+P` (VSCode), `F1` (VSCode (macOS)) and start typing to get a list of suggested actions. Then select the necessary action and press `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `Enter` (VSCode), `⏎` (VSCode (macOS)) to execute it. ![Find Action](https://resources.jetbrains.com/help/img/idea/2026.3/go_gotoAction.png) > **Note:** > To add or change the shortcut for any action, press `Alt+Enter` (Windows), `⌥ ⏎` (macOS), `⌥ ⏎` (IntelliJ IDEA Classic (macOS)), `⌥ ⏎` (macOS System Shortcuts), `Alt+Enter` (XWin), `Alt+Enter` (GNOME), `Alt+Enter` (KDE), `Alt+Enter` (Emacs), `Alt+Enter` (Sublime Text), `⌥ ⏎` (Sublime Text (macOS)), `Ctrl+.` (VSCode), `⌘ .` (VSCode (macOS)) when it is selected in the list.

* [Key Promoter X](https://plugins.jetbrains.com/plugin/9792-key-promoter-x) is a plugin that shows a popup notification with the corresponding keyboard shortcut whenever a command is executed using the mouse. It also suggests creating a shortcut for commands that are executed frequently.

* If you are using one of the predefined keymaps, you can print the [default keymap reference card](https://resources.jetbrains.com/storage/products/goland/docs/GoLand_ReferenceCard.pdf) and keep it on your desk to consult it if necessary. This cheat sheet is also available under `Help | Keyboard Shortcuts PDF`.

* To print a non-default or customized keymap, use the [Keymap exporter plugin](https://plugins.jetbrains.com/plugin/7066-keymap-exporter).

## Use advanced features

You can further improve your productivity with the following useful features:

Quick Lists
: If there is a group of actions that you often use, create a [quick list](customize-actions-menus-and-toolbars.html#configure_quick_lists) to access them using a custom shortcut. For example, you can try using the following predefined quick lists:
:
:
:
: * Refactor this `Ctrl+Alt+Shift+T` (Windows), `⌃ T` (macOS), `⌘ ⌥ ⇧ T` (IntelliJ IDEA Classic (macOS)), `⌃ S` (macOS System Shortcuts), `Ctrl+Alt+Shift+T` (XWin), `Ctrl+Alt+Shift+T` (GNOME), `Ctrl+Alt+Shift+T` (KDE), `Ctrl+Alt+Shift+T` (Emacs), `Ctrl+Alt+Shift+T` (Sublime Text), `⌃ T` (Sublime Text (macOS)), `Ctrl+Shift+R` (VSCode), `⌃ ⇧ R` (VSCode (macOS))
:
: * VCS Operations `Alt+`` (Windows), `⌃ V` (macOS), `⌃ V` (IntelliJ IDEA Classic (macOS)), `⌃ C` (macOS System Shortcuts), `Alt+`` (XWin), `Alt+`` (GNOME), `Alt+`` (KDE), `Alt+`` (Emacs), `Alt+`` (Sublime Text), `Alt+`` (Sublime Text (macOS)), `Alt+`` (VSCode), `⌃ V` (VSCode (macOS))

Smart Keys
: GoLand provides a lot of [typing assistance features](null), such as automatically adding paired tags and quotes, and detecting CamelHump words.

Speed search
: When the focus is on a tool window with a tree, list, or table, [start typing to see matching items](speed-search-in-the-tool-windows.html).

Press twice
: Some actions in GoLand provide more results when you execute them multiple times. For example, when you invoke [basic code completion](auto-completing-code.html) with `Ctrl+Space` (Windows), `⌃ Space` (macOS), `⌃ Space` (IntelliJ IDEA Classic (macOS)), `⌃ Space` (macOS System Shortcuts), `Ctrl+Space` (XWin), `Ctrl+Space` (GNOME), `Ctrl+Space` (KDE), `Alt+/` (Emacs), `Ctrl+Space` (Sublime Text), `⌃ Space` (Sublime Text (macOS)), `Ctrl+I` (VSCode), `⌘ I` (VSCode (macOS)) on a part of a field, parameter, or variable declaration, it suggests names depending on the item type within the current scope. If you invoke it again, it will include types available through module dependencies. When invoked for the third time in a row, the list of suggestions will include the whole project.

Resize tool windows
: You can adjust the size of tool windows without a mouse:
:
:
:
: * To resize a vertical tool window, press `Ctrl+Alt+Shift+Left` (Windows), `⌃ ⌥ ←` (macOS), `⌘ ⌥ ⇧ ←` (IntelliJ IDEA Classic (macOS)), `⌃ ⌥ ←` (macOS System Shortcuts), `Ctrl+Alt+Shift+Left` (XWin), `Ctrl+Alt+Shift+Left` (GNOME), `Ctrl+Alt+Shift+Left` (KDE), `Ctrl+Alt+Shift+Left` (Emacs), `Ctrl+Alt+Shift+Left` (Sublime Text), `Ctrl+Alt+Shift+Left` (Sublime Text (macOS)), `Ctrl+Alt+Shift+Left` (VSCode), `⌃ ⌥ ←` (VSCode (macOS)) and `Ctrl+Alt+Shift+Right` (Windows), `⌃ ⌥ →` (macOS), `⌘ ⌥ ⇧ →` (IntelliJ IDEA Classic (macOS)), `⌃ ⌥ →` (macOS System Shortcuts), `Ctrl+Alt+Shift+Right` (XWin), `Ctrl+Alt+Shift+Right` (GNOME), `Ctrl+Alt+Shift+Right` (KDE), `Ctrl+Alt+Shift+Right` (Emacs), `Ctrl+Alt+Shift+Right` (Sublime Text), `Ctrl+Alt+Shift+Right` (Sublime Text (macOS)), `Ctrl+Alt+Shift+Right` (VSCode), `⌃ ⌥ →` (VSCode (macOS))
:
: * To resize a horizontal tool window, press `Ctrl+Alt+Shift+Up` (Windows), `⌃ ⌥ ↑` (macOS), `⌘ ⌥ ⇧ ↑` (IntelliJ IDEA Classic (macOS)), `⌃ ⌥ ↑` (macOS System Shortcuts), `Ctrl+Alt+Shift+Up` (XWin), `Ctrl+Alt+Shift+Up` (GNOME), `Ctrl+Alt+Shift+Up` (KDE), `Ctrl+Alt+Shift+Up` (Emacs), `Ctrl+Alt+Shift+Up` (Sublime Text), `Ctrl+Alt+Shift+Up` (Sublime Text (macOS)), `Ctrl+Alt+Shift+Up` (VSCode), `⌃ ⌥ ↑` (VSCode (macOS)) and `Ctrl+Alt+Shift+Down` (Windows), `⌃ ⌥ ↓` (macOS), `⌘ ⌥ ⇧ ↓` (IntelliJ IDEA Classic (macOS)), `⌃ ⌥ ↓` (macOS System Shortcuts), `Ctrl+Alt+Shift+Down` (XWin), `Ctrl+Alt+Shift+Down` (GNOME), `Ctrl+Alt+Shift+Down` (KDE), `Ctrl+Alt+Shift+Down` (Emacs), `Ctrl+Alt+Shift+Down` (Sublime Text), `Ctrl+Alt+Shift+Down` (Sublime Text (macOS)), `Ctrl+Alt+Shift+Down` (VSCode), `⌃ ⌥ ↓` (VSCode (macOS))

