diff --git a/config/plugins/utils/copilot-chat.nix b/config/plugins/utils/copilot-chat.nix index e02b482..837c138 100644 --- a/config/plugins/utils/copilot-chat.nix +++ b/config/plugins/utils/copilot-chat.nix @@ -6,6 +6,12 @@ settings = { # Model to use for Copilot Chat. model = "gpt-4.1"; + # Use all buffers for context. + context = "buffers"; + # Use yanked text for selection. + selection = "unnamed"; + # Don't highlight the selection. + highlight_selection = false; # Window settings for Copilot Chat. window = { # Width of the chat window. @@ -17,7 +23,7 @@ # Keymaps for Copilot Chat. keymaps = [ { - mode = ["n"]; + mode = ["n" "v"]; key = "ct"; action = "CopilotChatToggle"; options = { @@ -27,7 +33,7 @@ } { - mode = ["n"]; + mode = ["n" "v"]; key = "cp"; action = "CopilotChatPrompts"; options = {