Skip to content

Configuring the Action Palette

Action Palette

The Action Palette holds plugin specific items like the ability to launch a chat buffer and the currently open chat buffers. It also displays the prompts from the Prompt Library.

Layout

NOTE

The Action Palette also supports Telescope.nvim and mini.pick

You can change the appearance of the chat buffer by changing the display.action_palette table in your configuration:

lua
require("codecompanion").setup({
  display = {
    action_palette = {
      width = 95,
      height = 10,
      prompt = "Prompt ", -- Prompt used for interactive LLM calls
      provider = "default", -- default|telescope|mini_pick
      opts = {
        show_default_actions = true, -- Show the default actions in the action palette?
        show_default_prompt_library = true, -- Show the default prompt library in the action palette?
      },
    },
  },
}),

Released under the MIT License.