OpenCodesession-managementbuilt-in

/export

Export the current conversation to Markdown and open in $EDITOR. Keybind: Ctrl+x x.

When to use

  • Saving a conversation for documentation
  • Exporting a debugging session as a reference
  • Sharing a conversation with a team member

More OpenCode commands