🐛 fix(nvim): disable default codeium keymaps
This commit is contained in:
parent
c2cc39d891
commit
d58bec9dc5
2 changed files with 8 additions and 0 deletions
|
@ -41,6 +41,12 @@ if vim.lsp.inlay_hint then
|
||||||
vim.lsp.inlay_hint(0, nil)
|
vim.lsp.inlay_hint(0, nil)
|
||||||
end, { desc = "Toggle Inlay Hints" })
|
end, { desc = "Toggle Inlay Hints" })
|
||||||
end
|
end
|
||||||
|
|
||||||
|
---@param path string
|
||||||
|
local function open(path)
|
||||||
|
vim.fn.jobstart({ vim.g.open_command, path }, { detach = true })
|
||||||
|
vim.notify(string.format("Opening %s", path))
|
||||||
|
end
|
||||||
-- map(
|
-- map(
|
||||||
-- "n",
|
-- "n",
|
||||||
-- "<leader>xs",
|
-- "<leader>xs",
|
||||||
|
|
|
@ -3,6 +3,8 @@ return {
|
||||||
"Exafunction/codeium.vim",
|
"Exafunction/codeium.vim",
|
||||||
event = "BufEnter",
|
event = "BufEnter",
|
||||||
config = function()
|
config = function()
|
||||||
|
vim.g.codeium_disable_bindings = 1
|
||||||
|
|
||||||
vim.keymap.set("i", "<M-CR>", function()
|
vim.keymap.set("i", "<M-CR>", function()
|
||||||
return vim.fn["codeium#Accept"]()
|
return vim.fn["codeium#Accept"]()
|
||||||
end, { expr = true })
|
end, { expr = true })
|
||||||
|
|
Loading…
Add table
Reference in a new issue