Skip to content

Commit 6017ac6

Browse files
committed
Update README.md
1 parent 50ab87f commit 6017ac6

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,14 @@ Whenever you stop typing for a few milliseconds, the app will automatically fetc
144144
- Real-time Suggestions: Call only by Copilot for Xcode. When suggestions are successfully fetched, Copilot for Xcode will run this command to present the suggestions.
145145
- Prefetch Suggestions: Call only by Copilot for Xcode. In the background, Copilot for Xcode will occasionally run this command to prefetch real-time suggestions.
146146

147+
#### Keyboard Shortcuts
148+
149+
| Shortcut | Description |
150+
|:---:|---|
151+
| `⌘W` | Cancel. |
152+
| `⌘↩︎` | Accept suggestion. |
153+
| `⇧↩︎` | Add new line. |
154+
147155
### Chat
148156

149157
This feature is powered by ChatGPT. Please ensure that you have set up your OpenAI account before using it.
@@ -157,7 +165,13 @@ You can detach the chat panel by simply dragging it away. Once detached, the cha
157165
- Chat with Selection: Open a chat window, if there is a selection, the selected code will be added to the prompt.
158166
- Explain Selection: Open a chat window and explain the selected code.
159167

160-
Chat commands are not available in comment mode.
168+
#### Keyboard Shortcuts
169+
170+
| Shortcut | Description |
171+
|:---:|---|
172+
| `⌘W` | Close the chat. |
173+
| `⌘M` | Minimize the chat, you can bring it back with any chat commands or by clicking the circular widget. |
174+
| `⇧↩︎` | Add new line. |
161175

162176
#### Chat Plugins
163177

0 commit comments

Comments
 (0)