Add copilot

This commit is contained in:
ElKowar 2023-02-15 08:49:27 +01:00 committed by elkowar
parent 79dbde9cf9
commit 83834f1f3b
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F
3 changed files with 9 additions and 0 deletions

View file

@ -45,6 +45,12 @@
(utils.keymap :n :<a-s-j> "<cmd>RustMoveItemDown<cr>j")
(utils.keymap :n :<a-s-k> "<cmd>RustMoveItemUp<cr>k")
(utils.keymap :i :<C-l><C-j> "<Plug>(copilot-suggest)")
(utils.keymap :i :<C-l><C-d> "<Plug>(copilot-dismiss)")
(utils.keymap :i :<C-l><C-n> "<Plug>(copilot-next)")
(utils.keymap :i :<C-l><C-p> "<Plug>(copilot-previous)")
(utils.keymap :i :<C-l><C-o> "<cmd>Copilot panel<cr>")
; Fix keybinds in linewrapped mode
;(utils.keymap [:n] :j "gj")
@ -157,6 +163,7 @@
"c" (cmd "foldclose" "close fold")
"o" (cmd "foldopen" "open fold")}})
(wk.register
{"<tab>" "which_key_ignore"}
{:mode "i"})

View file

@ -48,6 +48,7 @@
:Famiu/feline.nvim {:config #(require "dots.plugins.feline")}
:akinsho/nvim-bufferline.lua {:config #(require "dots.plugins.bufferline")
:tag "v1.1.1"}
:ckipp01/nvim-jenkinsfile-linter {:dependencies ["nvim-lua/plenary.nvim"]}
:psliwka/vim-smoothie {}
:norcalli/nvim-colorizer.lua {:config #(require "dots.plugins.nvim-colorizer")}

View file

@ -47,6 +47,7 @@
"nvim-colorizer.lua": { "branch": "master", "commit": "36c610a9717cc9ec426a07c8e6bf3b3abcb139d6" },
"nvim-dap": { "branch": "master", "commit": "5a1479c5d633daa0db06988ed44663f07f10f5dd" },
"nvim-dap-ui": { "branch": "master", "commit": "b80227ea56a48177786904f6322abc8b2dc0bc36" },
"nvim-jenkinsfile-linter": { "branch": "main", "commit": "4e4966ecdc338e00f408e49c1a744ef4aea3ba37" },
"nvim-lspconfig": { "branch": "master", "commit": "8ebe6894dddaeb1459e1397c865f54fa5ecaac80" },
"nvim-scrollbar": { "branch": "main", "commit": "6a2065fbcd032075a06d2ab54508b69842bc4496" },
"nvim-treesitter": { "branch": "master", "commit": "1c89f9b5bc885ff0e2b1cdb7ff40847784b1436b" },