plugins.copilot-chat.settings.mappings

Mappings for CopilotChat.

Type: null or (attribute set of ((submodule) or raw lua code))

Default: null

Plugin default:

{
  accept_diff = {
    insert = "<C-y>";
    normal = "<C-y>";
  };
  close = {
    insert = "<C-c>";
    normal = "q";
  };
  complete = {
    detail = "Use @<Tab> or /<Tab> for options.";
    insert = "<Tab>";
  };
  reset = {
    insert = "<C-l>";
    normal = "<C-l>";
  };
  show_diff = {
    normal = "gd";
  };
  show_system_prompt = {
    normal = "gp";
  };
  show_user_selection = {
    normal = "gs";
  };
  submit_prompt = {
    insert = "<C-m>";
    normal = "<CR>";
  };
  yank_diff = {
    normal = "gy";
  };
}

Declared by:

plugins.copilot-chat.settings.mappings.<name>.detail

A description for this binding.

Type: null or string or raw lua code

Default: null

plugins.copilot-chat.settings.mappings.<name>.insert

Key for insert mode.

Type: null or string or raw lua code

Default: null

plugins.copilot-chat.settings.mappings.<name>.normal

Key for normal mode.

Type: null or string or raw lua code

Default: null