@@ -204,6 +204,10 @@ func (p *chatPage) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
204204 return p, tea.Batch(p.SetSize(p.width, p.height), cmd)
205205 case commands.ToggleThinkingMsg:
206206 return p, p.toggleThinking()
207+ case commands.OpenExternalEditorMsg:
208+ u, cmd := p.editor.Update(msg)
209+ p.editor = u.(editor.Editor)
210+ return p, cmd
207211 case pubsub.Event[session.Session]:
208212 u, cmd := p.header.Update(msg)
209213 p.header = u.(header.Header)
@@ -896,9 +900,13 @@ func (p *chatPage) Help() help.KeyMap {
896900 key.WithHelp("/", "add file"),
897901 ),
898902 key.NewBinding(
899− key.WithKeys("ctrl+v"),
900− key.WithHelp("ctrl+v", "open editor"),
903+ key.WithKeys("ctrl+o"),
904+ key.WithHelp("ctrl+o", "open editor"),
901905 ),
906+ })
907+
908+ if p.editor.HasAttachments() {
909+ fullList = append(fullList, []key.Binding{
902910 key.NewBinding(
903911 key.WithKeys("ctrl+r"),
904912 key.WithHelp("ctrl+r+{i}", "delete attachment at index i"),
@@ -912,6 +920,7 @@ func (p *chatPage) Help() help.KeyMap {
912920 key.WithHelp("esc", "cancel delete mode"),
913921 ),
914922 })
923+ }
915924 }
916925 shortList = append(shortList,
917926 // Quit