From b3da492bf2575ce82f68ed18181d68bd1ee1853f Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Sat, 21 Feb 2026 13:00:37 +0100 Subject: neovim: aktiviere Github-Copilot --- nvim/lua/config/keymaps.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nvim/lua/config/keymaps.lua') diff --git a/nvim/lua/config/keymaps.lua b/nvim/lua/config/keymaps.lua index 2c1d383..72030c4 100644 --- a/nvim/lua/config/keymaps.lua +++ b/nvim/lua/config/keymaps.lua @@ -72,6 +72,11 @@ function M.gitsigns() map("n", "tb", require("gitsigns").toggle_current_line_blame) end +function M.copilot() + map("n", "ce", ":Copilot enable") + map("n", "cd", ":Copilot disable") +end + function M.global() local opts = { silent = true, -- cgit v1.3