Christmas gifts: delivery dates and last-minute ideas.10% off: MODKEY10 Gift guide →

CLion keyboard shortcuts (Mac)

CLion PosterGet it on your desk →

The most used CLion shortcuts on Mac: Find Action (⇧⌘A), Recent files (⌘E), Line comment (⌘/), Context actions / quick-fix (⌥↩), Go to declaration or usages (⌘B). This page lists all 48, from the official documentation.

48 CLion keyboard shortcuts for Mac, grouped into Search & general, Editing, Code assistance, Navigation, Refactor, run & debug, VCS & tool windows. Every key is copied from www.jetbrains.com (retrieved November 19, 2026) and shown on a real keyboard layout.

On Mac, 30 of these 48 shortcuts are the Windows ones with ⌘ in place of Ctrl; 18 are different, for example Settings (⌘,; Windows: Ctrl+Alt+S), Go to file (⇧⌘O; Windows: Ctrl+Shift+N), Delete line (⌘⌫; Windows: Ctrl+Y).

CLion · Desk mat · Paper

CLion keyboard map

Pick your keyboard and a modifier. Keys with a shortcut light up; point at or tap a key to see everything on it. Try it: hold ⌘ Cmd on your keyboard

Modifier
Keyboard
Point at or tap a key.

More shortcuts on this key with other modifiers.

With ⌘19 keys

All CLion keyboard shortcuts for Mac

48 shortcuts
CommandShortcut
Find Action⇧⌘A
Settings⌘,
Find in file⌘F
Replace in file⌘R
Find in files⇧⌘F
Go to file⇧⌘O
Recent files⌘E
File structure⌘F12

Editing12

CommandShortcut
Undo⌘Z
Redo⇧⌘Z
Save all⌘S
Duplicate line or selection⌘D
Delete line⌘⌫
Move line up⌥⇧↑
Move line down⌥⇧↓
Line comment⌘/
Block comment⌥⌘/
Extend selection⌥↑
Shrink selection⌥↓
Add next occurrence to selection⌃G

Code assistance7

CommandShortcut
Context actions / quick-fix⌥↩
Basic completion⌃Space
Complete current statement⇧⌘↩
Reformat code⌥⌘L
Parameter info⌘P
Quick documentationF1
Generate code⌘N

Navigation8

CommandShortcut
Go to declaration or usages⌘B
Go to implementation⌥⌘B
Find usages⌥F7
Navigate back⌘[
Navigate forward⌘]
Go to line⌘L
Next highlighted errorF2
Last edit location⇧⌘⌫

Refactor, run & debug8

CommandShortcut
Refactor this⌃T
Rename⇧F6
Extract function⌥⌘M
Run⌃R
Debug⌃D
Step overF8
Step intoF7
Toggle line breakpoint⌘F8

VCS & tool windows5

CommandShortcut
Commit⌘K
Push⇧⌘K
VCS operations popup⌃V
Project tool window⌘1
Terminal tool window⌥F12

Source: JetBrains · www.jetbrains.com · retrieved . Unofficial reference. Not affiliated with JetBrains. How we source shortcuts →

Free printable CLion cheat sheet

The essential shortcuts on one page (PDF, 24 × 20 cm), for your keyboard and language.

CLion shortcut questions

What is the shortcut for “Find Action” in CLion on Mac?
Press ⇧⌘A. That is the shortcut for “Find Action” in CLion on Mac, as given in the official documentation.
What is the shortcut for “Recent files” in CLion on Mac?
Press ⌘E. That is the shortcut for “Recent files” in CLion on Mac, as given in the official documentation.
What is the shortcut for “Line comment” in CLion on Mac?
Press ⌘/. That is the shortcut for “Line comment” in CLion on Mac, as given in the official documentation.
Where do these CLion shortcuts come from?
From JetBrains’s official documentation at www.jetbrains.com, retrieved November 19, 2026. Every key is copied from there, never from other websites.

Learn it, then print it