Claude Code editor integration

Codecompanion History Nvim

A history management extension for codecompanion AI chat plugin that enables saving, browsing and restoring chat sessions.

195 stars 27 forksEditor integrations Source

Install

From source
git clone https://github.com/ravitemer/codecompanion-history.nvim.git

From the README

CodeCompanion History Extension

A history management extension for codecompanion.nvim that enables saving, browsing and restoring chat sessions.

✨ Features

πŸ€– Chat Management
- πŸ’Ύ Flexible chat saving:
  - Automatic session saving (can be disabled)
  - Manual save with dedicated keymap
- 🎯 Smart title generation for chats
- πŸ”„ Continue from where you left
- πŸ“š Browse saved chats with preview
- πŸ” Multiple picker interfaces
- βŒ› Optional automatic chat expiration
- ⚑ Restore chat sessions with full context and tools state
- 🏒 Project-aware filtering: Filter chats by workspace/project context
- πŸ“‹ Chat duplication: Easily duplicate chats to create variations or backups

πŸ“ Summary System
- Manual summary generation: Create summaries for any chat with gcs
- Intelligent content processing: Extracts meaningful conversation content while filtering noise
- Chunked summarization: Handles large conversations by splitting into manageable chunks
- Customizable generation: Configure adapter, model, and system prompts
- Summary browsing: Dedicated browser with gbs to explore all summaries

🧠 Memory System (@memory tool)
- Vector-based search: Uses VectorCode CLI to index and search through chat summaries
- Automatic indexing: Optionally index summaries as they are generated
- Smart integration: Available as @memory tool in new chats when VectorCode is installed

The following CodeCompanion features are preserved when saving and restoring chats:

When restoring a chat:
1. The complete message history is recreated
2. All tools and references are reinitialized
3. Original LLM settings and adapter are restored
4. Previous system prompts are preserved
Note: While watched buffer states are saved, they require the original buffer context to resume watching functionality.

As this is…
Read the full README on GitHub

Details

Language
Lua
License
MIT
Last updated
22 January 2026
Topics
aichatgptchatpluginclaudeclaude-codecodecompaniondevtoolsextensiongeminigoosegrokmcp

FAQ

What is Codecompanion History Nvim?

A history management extension for codecompanion AI chat plugin that enables saving, browsing and restoring chat sessions. It is a editor integration for Claude Code, from ravitemer/codecompanion-history.nvim on GitHub.

How do I install Codecompanion History Nvim?

Clone ravitemer/codecompanion-history.nvim from GitHub and follow the setup steps in its README.

Is Codecompanion History Nvim popular?

ravitemer/codecompanion-history.nvim has 195 GitHub stars and 27 forks. It was last updated on 22 January 2026.

More editor integrations

Browse the most popular Claude Code mods, all editor integrations, or the skills and MCP server directories.