mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
update
This commit is contained in:
parent
a745438e75
commit
79e5695d20
2 changed files with 25 additions and 4 deletions
21
lua/custom/plugins/codeium.lua
Normal file
21
lua/custom/plugins/codeium.lua
Normal file
|
@ -0,0 +1,21 @@
|
|||
vim.g.codeium_disable_bindings = 1
|
||||
return {
|
||||
"Exafunction/codeium.vim",
|
||||
enabled = false,
|
||||
event = "VeryLazy",
|
||||
config = function()
|
||||
-- Change '<C-g>' here to any keycode you like.
|
||||
vim.keymap.set("i", "<C-g>", function()
|
||||
return vim.fn["codeium#Accept"]()
|
||||
end, { expr = true })
|
||||
vim.keymap.set("i", "<c-;>", function()
|
||||
return vim.fn["codeium#CycleCompletions"](1)
|
||||
end, { expr = true })
|
||||
vim.keymap.set("i", "<c-,>", function()
|
||||
return vim.fn["codeium#CycleCompletions"](-1)
|
||||
end, { expr = true })
|
||||
vim.keymap.set("i", "<c-x>", function()
|
||||
return vim.fn["codeium#Clear"]()
|
||||
end, { expr = true })
|
||||
end,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue