Cmd+I
(Mac) or Ctrl+I
(Windows/Linux) to activate Edit mode. You can also press Cmd/Ctrl+I
with no code highlighted, which will default to inserting code at the current cursor location.
Cmd+Opt+Y
(Mac) or Ctrl+Alt+Y
(Windows/Linux) to accept, or Cmd+Opt+N
(Mac) or Ctrl+Alt+N
(Windows/Linux) to reject.
You can also accept or reject all changes at once using Cmd+Shift+Enter
(Mac) or Ctrl+Shift+Enter
(Windows/Linux) to accept, or Cmd+Shift+Delete
(Mac) or Ctrl+Shift+Backspace
(Windows/Linux) to reject.
If you want to request a new suggestion for the same highlighted code section, you can use Cmd+I
(Mac) or Ctrl+I
(Windows/Linux) to re-prompt the model.