We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Set up a quick chat command that uses the entire buffer content:
-- Quick chat keybinding vim.keymap.set('n', '<leader>ccq', function() local input = vim.fn.input("Quick Chat: ") if input ~= "" then require("CopilotChat").ask(input, { resources = { 'buffer' }, }) end end, { desc = "CopilotChat - Quick chat" })
Configure the chat window to appear inline near the cursor:
require("CopilotChat").setup({ window = { layout = 'float', relative = 'cursor', width = 1, height = 0.4, row = 1 } })
Use render-markdown.nvim for better chat display:
-- Register copilot-chat filetype require('render-markdown').setup({ file_types = { 'markdown', 'copilot-chat' }, }) -- Adjust chat display settings require('CopilotChat').setup({ highlight_headers = false, separator = '---', error_header = '> [!ERROR] Error', })