Action | Windows/Linux | macOS | Condition | Description |
---|---|---|---|---|
Add to Cline | Ctrl+' | Cmd+' | When text is selected | Adds selected code to Cline chat |
Focus Chat Input | Ctrl+' | Cmd+' | When no text is selected | Focuses the Cline chat input field |
Generate Commit Message | (unset) | (unset) | When Git is the SCM provider | Available through the Source Control view |
Command ID | Description |
---|---|
cline.openInNewTab | Opens Cline in a new editor tab |
cline.addToChat | Adds selected code to Cline chat |
cline.addTerminalOutputToChat | Adds terminal output to Cline |
cline.focusChatInput | Focuses the Cline chat input field |
cline.generateGitCommitMessage | Generates a commit message for staged changes |
cline.explainCode | Explains selected code |
cline.improveCode | Suggests improvements for selected code |
cline.fixWithCline | Fixes code with errors |
claude-dev.SidebarProvider.focus | Opens and focuses the Cline sidebar |
Ctrl+K Ctrl+S
(Windows/Linux) or Cmd+K Cmd+S
(macOS)Action | Suggested Shortcut | Command ID | Description |
---|---|---|---|
Open Cline Sidebar | Ctrl+Shift+C / Cmd+Shift+C | claude-dev.SidebarProvider.focus | Opens the Cline sidebar panel |
New Task | Alt+N | cline.plusButtonClicked | Starts a new Cline task |
Add Terminal to Cline | Alt+T | cline.addTerminalOutputToChat | Adds terminal output to Cline |
Clear Current Task | Alt+C | (Requires custom keybinding to UI action) | Clears the current task |
Shift+Arrow
keys)Ctrl+'
/ Cmd+'
Ctrl+L
/ Cmd+L
to select line, etc.) before sending code to ClineCtrl+`
/ Cmd+`
) before capturing terminal outputCtrl+'
/ Cmd+'
shortcut is versatile - it adds selected code to chat when text is selected, or focuses the chat input when nothing is selectedCtrl+Shift+P
/ Cmd+Shift+P
)