OpenCodex
Home
Tutorials
Ecosystem
FAQ
Features
Comparisons
Posts
Projects
  • Official
  • Download
  • Docs
  • 简体中文
  • English
Home
Tutorials
Ecosystem
FAQ
Features
Comparisons
Posts
Projects
  • Official
  • Download
  • Docs
  • 简体中文
  • English
  • Tutorials

    • Tutorials
    • Getting Started
    • Advanced Configuration
    • Shortcuts

Common Shortcuts

Mastering shortcuts can significantly improve development efficiency. Here is a list of the most commonly used shortcuts in Opencode.

AI Related

FeaturemacOSWindows/Linux
Invoke AI Command Box (Inline Edit)Cmd+KCtrl+K
Open AI Sidebar (Chat View)Cmd+LCtrl+L
Explain Selected CodeCmd+.Ctrl+.
Accept SuggestionTabTab
Partial Accept (Word by Word)Cmd+RightCtrl+Right

Basic Editing

FeaturemacOSWindows/Linux
Quick Open FileCmd+PCtrl+P
Show Command PaletteCmd+Shift+PCtrl+Shift+P
Multi-Cursor EditingOpt+ClickAlt+Click
Format CodeShift+Opt+FShift+Alt+F

Terminal

FeaturemacOSWindows/Linux
New Terminal`Ctrl+Shift+```Ctrl+Shift+``
Toggle Terminal PanelCmd+JCtrl+J

Tip: You can customize all shortcuts in the settings.

Last Updated: 1/15/26, 4:12 PM
Contributors: souvc
Prev
Advanced Configuration