trypear / pearai-app

An Open Sourced AI-Powered Text Editor. A fork of VSCode and Continue.
https://trypear.ai
Other
539 stars 86 forks source link

Toggle between last opened chat and current `CMD+0` #33

Open Fryingpannn opened 1 month ago

Fryingpannn commented 1 month ago

Context

Clarification

Pressing CMD+0 should always go back to the most recently opened chat that is not the current opened one, if there was no previously opened chat, then do nothing.

E.g.:

Trifall commented 1 month ago

Pressing this key again should bring back the most recent chat.

Need clarification on this - do you mean the chat that was active before pressing the hotkey? I.e say there are 5 chats total, and you have chat 3 open, it should go to chat 2; but if you press it again what should happen? Should it go back to chat 3 or go to the latest chat (chat 5)

Fryingpannn commented 1 month ago

@Trifall Sorry for delayed response, just saw your comment (feel free ping me in disc if I don't reply). Clarification:

Pressing CMD+0 should always go back to the most recently opened chat that is not the current opened one, if there was no previously opened chat, then do nothing.

E.g.:

Let me know if this clears things up better.