# RubyMine keyboard shortcuts (Linux)

> The most used RubyMine shortcuts on Linux: Find Action (Ctrl+Shift+A), Recent files (Ctrl+E), Line comment (Ctrl+/), Context actions / quick-fix (Alt+Enter), Go to declaration or usages (Ctrl+B). This page lists all 40, from the official documentation.

- Source: [JetBrains · www.jetbrains.com](https://www.jetbrains.com/help/ruby/mastering-keyboard-shortcuts.html), retrieved November 19, 2026 (2026-11-19)
- Page: https://www.modandkey.com/rubymine-keyboard-shortcuts/linux
- Also: [Windows](https://www.modandkey.com/md/rubymine-keyboard-shortcuts.md), [Mac](https://www.modandkey.com/md/rubymine-keyboard-shortcuts/mac.md)
- Unofficial reference. Not affiliated with JetBrains.

## Search & general

| Command | Shortcut |
|---|---|
| Find Action | Ctrl+Shift+A |
| Settings | Ctrl+Alt+S |
| Find in file | Ctrl+F |
| Replace in file | Ctrl+R |
| Find in files | Ctrl+Shift+F |
| Go to file | Ctrl+Shift+N |
| Recent files | Ctrl+E |

## Editing

| Command | Shortcut |
|---|---|
| Undo | Ctrl+Z |
| Redo | Ctrl+Shift+Z |
| Save all | Ctrl+S |
| Duplicate line or selection | Ctrl+D |
| Delete line | Ctrl+Y |
| Line comment | Ctrl+/ |
| Block comment | Ctrl+Shift+/ |
| Extend selection | Ctrl+W |
| Shrink selection | Ctrl+Shift+W |
| Add next occurrence to selection | Alt+J |

## Code assistance

| Command | Shortcut |
|---|---|
| Context actions / quick-fix | Alt+Enter |
| Basic completion | Ctrl+Space |
| Complete current statement | Ctrl+Shift+Enter |
| Parameter info | Ctrl+P |
| Quick documentation | Ctrl+Q |
| Generate code | Alt+Ins |

## Navigation

| Command | Shortcut |
|---|---|
| Go to declaration or usages | Ctrl+B |
| Go to implementation | Ctrl+Alt+B |
| Go to line | Ctrl+G |
| Next highlighted error | F2 |
| Last edit location | Ctrl+Shift+Backspace |

## Refactor, run & debug

| Command | Shortcut |
|---|---|
| Refactor this | Ctrl+Alt+Shift+T |
| Rename | Shift+F6 |
| Extract method | Ctrl+Alt+M |
| Run | Shift+F10 |
| Debug | Shift+F9 |
| Step over | F8 |
| Step into | F7 |

## VCS & tool windows

| Command | Shortcut |
|---|---|
| Commit | Ctrl+K |
| Push | Ctrl+Shift+K |
| VCS operations popup | Alt+` |
| Project tool window | Alt+1 |
| Terminal tool window | Alt+F12 |
