diff options
| author | Thomas Schmucker <ts@its1.de> | 2026-02-21 13:00:37 +0100 |
|---|---|---|
| committer | Thomas Schmucker <ts@its1.de> | 2026-02-21 13:00:37 +0100 |
| commit | b3da492bf2575ce82f68ed18181d68bd1ee1853f (patch) | |
| tree | 85304e32911202d8b5cf212f7c35e630d158c1b1 /nvim/lua/config/keymaps.lua | |
| parent | eefea590f72bf5fa1a94ff73433125fa0a658179 (diff) | |
| download | dotfiles-b3da492bf2575ce82f68ed18181d68bd1ee1853f.tar.gz dotfiles-b3da492bf2575ce82f68ed18181d68bd1ee1853f.tar.bz2 dotfiles-b3da492bf2575ce82f68ed18181d68bd1ee1853f.zip | |
neovim: aktiviere Github-Copilot
Diffstat (limited to 'nvim/lua/config/keymaps.lua')
| -rw-r--r-- | nvim/lua/config/keymaps.lua | 5 |
1 files changed, 5 insertions, 0 deletions
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() | |||
| 72 | map("n", "<leader>tb", require("gitsigns").toggle_current_line_blame) | 72 | map("n", "<leader>tb", require("gitsigns").toggle_current_line_blame) |
| 73 | end | 73 | end |
| 74 | 74 | ||
| 75 | function M.copilot() | ||
| 76 | map("n", "<leader>ce", ":Copilot enable<CR>") | ||
| 77 | map("n", "<leader>cd", ":Copilot disable<CR>") | ||
| 78 | end | ||
| 79 | |||
| 75 | function M.global() | 80 | function M.global() |
| 76 | local opts = { | 81 | local opts = { |
| 77 | silent = true, | 82 | silent = true, |
