feat(nvim): open copilot chat on leader-cc in floating window

This commit is contained in:
Michael Mandl 2025-03-04 14:31:08 +01:00
parent 621a555c25
commit d1637e46fc
Signed by: mandlm
GPG key ID: 088ED38F036C7AF2
2 changed files with 14 additions and 1 deletions

View file

@ -67,3 +67,6 @@ vim.cmd('nnoremap <expr> * v:hlsearch ? ":nohlsearch<cr>" : "*"')
-- insert-map jj/jk to escape
require("better_escape").setup()
-- open Copilot Chat window
nnoremap("<leader>cc", ":lua require('CopilotChat').open()<CR>")