From 83834f1f3bd6f6eeb516db413fea31400d3f7bc6 Mon Sep 17 00:00:00 2001 From: ElKowar <5300871+elkowar@users.noreply.github.com> Date: Wed, 15 Feb 2023 08:49:27 +0100 Subject: [PATCH] Add copilot --- nvim/.config/nvim/fnl/dots/keybinds.fnl | 7 +++++++ nvim/.config/nvim/fnl/dots/plugins.fnl | 1 + nvim/.config/nvim/lazy-lock.json | 1 + 3 files changed, 9 insertions(+) diff --git a/nvim/.config/nvim/fnl/dots/keybinds.fnl b/nvim/.config/nvim/fnl/dots/keybinds.fnl index f73927b..00b2ea2 100644 --- a/nvim/.config/nvim/fnl/dots/keybinds.fnl +++ b/nvim/.config/nvim/fnl/dots/keybinds.fnl @@ -45,6 +45,12 @@ (utils.keymap :n : "RustMoveItemDownj") (utils.keymap :n : "RustMoveItemUpk") +(utils.keymap :i : "(copilot-suggest)") +(utils.keymap :i : "(copilot-dismiss)") +(utils.keymap :i : "(copilot-next)") +(utils.keymap :i : "(copilot-previous)") +(utils.keymap :i : "Copilot panel") + ; 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 {"" "which_key_ignore"} {:mode "i"}) diff --git a/nvim/.config/nvim/fnl/dots/plugins.fnl b/nvim/.config/nvim/fnl/dots/plugins.fnl index 449d078..6bbf9ce 100644 --- a/nvim/.config/nvim/fnl/dots/plugins.fnl +++ b/nvim/.config/nvim/fnl/dots/plugins.fnl @@ -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")} diff --git a/nvim/.config/nvim/lazy-lock.json b/nvim/.config/nvim/lazy-lock.json index c70728d..454424d 100644 --- a/nvim/.config/nvim/lazy-lock.json +++ b/nvim/.config/nvim/lazy-lock.json @@ -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" },