CopilotC-Nvim / CopilotC-Nvim/CopilotChat.nvim

Chat history persistence feature request

Open
#1,573 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
3.7k
Forks
171
Avg merge
16h 26m
Merged PRs (30d)
1

Description

It would be nice to automatically store chat history into a file.
Two things cause frustration for me:

  1. Sometimes I close nvim without saving the chat and lose my history.
  2. Sometimes I accidentally clear the chat history.

For me, if persistence is enabled, it would be convenient to automatically dump the chat history into a file on chat reset.

P.S. I figured out that I can cancel accidental chat reset with undo, but anyway it would be great to dump chat history on intentional reset to be able recover it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by locating the existing persistence configuration and the chat reset handling, then trace how chat history is stored and cleared. Done means that, when persistence is enabled, resetting the chat preserves the prior history in a recoverable file without changing behavior when persistence is disabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.