M0X Docs
M0X Docs

Get Started

Quickstart GuideCore ConceptsAI ModelsPricing Plans

Core Features

Feature OverviewThe CoderX AgentOperating ModesReviewTerminal IntegrationBrowserSecurity

Customization

Lifecycle HooksContext ManagementRules & InstructionsCommandsSkills & Custom ToolsSub-Agents & Parallel OrchestrationSemantic Search@ Mentions

MCP

Model Context Protocol (MCP)MCP FeaturesMCP Tab

Tools

Cloud FeaturesCLIInline Edit (Ctrl+K)BugbotShared TranscriptsSlack IntegrationLinear IntegrationGitHub IntegrationGit SupportGitLab IntegrationDeep Links

Settings

ConfigurationIgnore FilesExtensionsKeyboard ShortcutsShell Commands

Advanced

Parallel AgentsBring Your Own Key (BYOK)Language SupportMigrations

Account

Account ManagementBilling & SubscriptionsUpdate AccessTeamsEnterprise

Guides

CookbookAgent WorkflowsWeb DevelopmentData ScienceLarge Codebases & MonoreposMermaid DiagramsBugbot Rules

Support

TroubleshootingCommon IssuesRequest IDTroubleshooting GuideDownload
Documentation

Inline Edit (Ctrl+K)

Generate, refactor, and update code in-place inside your active editor buffer.

Inline Edit is the fastest way to make targeted adjustments to your code without opening a chat window. By highlighting a section of code and pressing Ctrl+K (or Cmd+K on macOS), you summon a lightweight prompt box that edits the selected lines in-place.


How to Use Inline Edit

Follow these steps to run an inline refactor:

Select Code

Highlight the specific lines of code you want to edit. If you select nothing, the AI will generate new code at your current cursor position.

Trigger the Prompt

Press Ctrl+K (Windows/Linux) or Cmd+K (macOS) to open the inline input panel.

Write Instructions

Type what you want to accomplish (e.g. "convert this function to async and add try/catch handling") and press Enter.

Review the Diff

CoderX displays a side-by-side git diff showing precisely what lines will be removed (red highlights) and added (green highlights).

Confirm changes

Accept the code using shortcuts (Ctrl+Enter or click Accept) or reject them to revert back to your original code.


Keyboard Shortcuts

Manage inline edit proposals quickly using editor hotkeys:

ActionWindows / LinuxmacOS
Open Inline EditCtrl+KCmd+K
Accept ProposalCtrl+EnterCmd+Enter
Reject ProposalEscapeEscape
Toggle Diff ViewCtrl+Shift+DCmd+Shift+D
Next DifferenceF7F7

Multi-File Inline Edits

If your inline edit modifies an import signature or function parameter, CoderX can automatically recommend updating the references in related files:

[!TIP] After accepting an inline edit that alters API contracts, check the Refactor Recommendations toast. Clicking Accept All will apply the corresponding updates to dependent imports in other files.

CLI

Command line interface for M0X.

Bugbot

Automatic bug detection.

On this page

How to Use Inline EditSelect CodeTrigger the PromptWrite InstructionsReview the DiffConfirm changesKeyboard ShortcutsMulti-File Inline Edits