Open
Description
Field | Description |
---|---|
Plugin | codecompanion-history.nvim |
Homepage | ravitemer/codecompanion-history.nvim |
Nixpkgs | false |
Extra Information
# Requirements
plugins.codecompanion.enable = true;
plugins.telescope.enable = true; # optional, for enhanced picker
plugins.snacks.enable = true; # optional, for enhanced picker
# Configure the extension (upstream defaults)
plugins.codecompanion.settings.extensions.history.enabled = true;
plugins.codecompanion.settings.extensions.history.opts = {
# Keymap to open history from chat buffer
keymap = "gh";
# Automatically generate titles for new chats
auto_generate_title = true;
# On exiting and entering neovim, loads the last chat on opening chat
continue_last_chat = false;
# When chat is cleared with `gx` delete the chat from history
delete_on_clearing_chat = false;
# Picker interface ("telescope"; "snacks" or "default")
picker = "telescope";
# Enable detailed logging for history extension
enable_logging = false;
# Directory path to save the chats
dir_to_save.__raw = "vim.fn.stdpath('data') .. '/codecompanion-history'";
};