Back to Dashboard
Documentation/Guides/Keyboard Shortcuts

Keyboard Shortcuts

Master ReformCode with shortcuts

Keyboard Shortcuts

Master ReformCode with keyboard shortcuts. Save time and boost your productivity with quick actions for editing, navigation, and AI features.

Global Shortcuts

These work anywhere in ReformCode:

ShortcutAction
Cmd/Ctrl + KQuick search / Command palette
Cmd/Ctrl + /Open help / Documentation
Cmd/Ctrl + Shift + HOpen history
Cmd/Ctrl + Shift + SOpen settings
EscClose modal / Cancel action

Code Editor Shortcuts

File Operations

ShortcutAction
Cmd/Ctrl + SSave file
Cmd/Ctrl + Shift + SSave as snippet
Cmd/Ctrl + OOpen file
Cmd/Ctrl + NNew file
Cmd/Ctrl + WClose current tab

Editing

ShortcutAction
Cmd/Ctrl + ZUndo
Cmd/Ctrl + Shift + ZRedo
Cmd/Ctrl + XCut line/selection
Cmd/Ctrl + CCopy line/selection
Cmd/Ctrl + VPaste
Cmd/Ctrl + DSelect next occurrence
Cmd/Ctrl + Shift + LSelect all occurrences

Code Navigation

ShortcutAction
Cmd/Ctrl + GGo to line
Cmd/Ctrl + PQuick open file
Cmd/Ctrl + Shift + OGo to symbol
F12Go to definition
Alt + F12Peek definition
Cmd/Ctrl + Shift + \Jump to matching bracket

Code Manipulation

ShortcutAction
Shift + Alt + FFormat document
Cmd/Ctrl + /Toggle line comment
Shift + Alt + AToggle block comment
Alt + UpMove line up
Alt + DownMove line down
Shift + Alt + UpCopy line up
Shift + Alt + DownCopy line down
Cmd/Ctrl + Shift + KDelete line
Cmd/Ctrl + EnterInsert line below
Cmd/Ctrl + Shift + EnterInsert line above

Find & Replace

ShortcutAction
Cmd/Ctrl + FFind
Cmd/Ctrl + HFind and replace
F3 / Cmd + GFind next
Shift + F3Find previous
Cmd/Ctrl + Shift + FFind in files
Alt + EnterSelect all matches

Multi-Cursor

ShortcutAction
Alt + ClickAdd cursor
Cmd/Ctrl + Alt + UpAdd cursor above
Cmd/Ctrl + Alt + DownAdd cursor below
Cmd/Ctrl + UUndo cursor
Cmd/Ctrl + Shift + LSelect all occurrences

Folding

ShortcutAction
Cmd/Ctrl + Shift + [Fold region
Cmd/Ctrl + Shift + ]Unfold region
Cmd/Ctrl + K, Cmd/Ctrl + 0Fold all
Cmd/Ctrl + K, Cmd/Ctrl + JUnfold all

AI Features

ShortcutAction
Cmd/Ctrl + EnterRun AI analysis
Cmd/Ctrl + Shift + AQuick analyze selection
Cmd/Ctrl + Shift + TSend to transformer
Cmd/Ctrl + Shift + BSend to builder

Builder Shortcuts

ShortcutAction
Cmd/Ctrl + EnterSubmit prompt
Cmd/Ctrl + RRefresh preview
Cmd/Ctrl + EToggle code/preview
Cmd/Ctrl + Shift + EExport project

Search Shortcuts

ShortcutAction
/Focus search bar
EnterSearch
TabNext filter
Shift + TabPrevious filter
EscClear search

History Shortcuts

ShortcutAction
Up/DownNavigate entries
EnterOpen entry
DeleteRemove entry
Cmd/Ctrl + SSave/bookmark

Tab Navigation

ShortcutAction
Cmd/Ctrl + 1Editor tab
Cmd/Ctrl + 2Transformer tab
Cmd/Ctrl + 3Builder tab
Cmd/Ctrl + 4Snippets tab
Cmd/Ctrl + TabNext tab
Cmd/Ctrl + Shift + TabPrevious tab
ShortcutAction
Cmd/Ctrl + BToggle sidebar
Cmd/Ctrl + Shift + EFocus file explorer
Cmd/Ctrl + Shift + GFocus GitHub panel

Platform Differences

macOS

  • Use Cmd for command key
  • Option = Alt
  • Control is separate from Cmd

Windows/Linux

  • Use Ctrl for control key
  • Alt is the same
  • Windows key for system shortcuts

Customization

Viewing Shortcuts

See all shortcuts:

  1. Press Cmd/Ctrl + K then Cmd/Ctrl + S
  2. Or go to Settings > Keyboard Shortcuts

Common Customizations

While ReformCode uses Monaco defaults, you may be familiar with:

Vim Mode (if enabled):

  • i - Insert mode
  • Esc - Normal mode
  • dd - Delete line
  • yy - Yank line

Emacs Mode (if enabled):

  • Ctrl + A - Beginning of line
  • Ctrl + E - End of line
  • Ctrl + K - Kill line

Tips for Efficiency

Learn Gradually

  1. Start with 5-10 essential shortcuts
  2. Add 2-3 new ones each week
  3. Practice until they're automatic

Essential Shortcuts to Learn First

  1. Cmd/Ctrl + S - Save
  2. Cmd/Ctrl + Enter - Run AI
  3. Cmd/Ctrl + F - Find
  4. Shift + Alt + F - Format
  5. Cmd/Ctrl + / - Comment

Power User Shortcuts

Once comfortable, add:

  1. Cmd/Ctrl + D - Multi-select
  2. Alt + Up/Down - Move lines
  3. Cmd/Ctrl + Shift + K - Delete line
  4. Cmd/Ctrl + G - Go to line

Troubleshooting

Shortcut not working

  • Check if a modal is open
  • Verify focus is in the editor
  • Check for browser conflicts
  • Try refreshing the page

Browser conflicts

Some shortcuts may conflict with browser shortcuts:

  • Cmd/Ctrl + W - May close tab
  • Cmd/Ctrl + N - May open window
  • Use Settings to remap if needed

Next Steps: