add:codeium config

This commit is contained in:
asep.komarudin 2024-06-05 14:17:54 +07:00
parent a0c81f7286
commit da416417d8
2 changed files with 7 additions and 1 deletions

View file

@ -37,7 +37,7 @@
"nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" },
"nvim-scrollview": { "branch": "main", "commit": "c29c5f69d37040a1fac88cbea7f5e6f06f0aff4d" }, "nvim-scrollview": { "branch": "main", "commit": "c29c5f69d37040a1fac88cbea7f5e6f06f0aff4d" },
"nvim-tree.lua": { "branch": "master", "commit": "2bc725a3ebc23f0172fb0ab4d1134b81bcc13812" }, "nvim-tree.lua": { "branch": "master", "commit": "2bc725a3ebc23f0172fb0ab4d1134b81bcc13812" },
"nvim-treesitter": { "branch": "master", "commit": "69e41a2c1405ad9626ed502b86e75245f8118531" }, "nvim-treesitter": { "branch": "master", "commit": "49e4e2b4b62360677568c47b6467f31c809b391c" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "fd41b7ccc5490a3a99c734d1ee418b68d06c48a9" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "fd41b7ccc5490a3a99c734d1ee418b68d06c48a9" },
"nvim-ts-autotag": { "branch": "main", "commit": "6eb4120a1aadef07ac312f1c4bc6456712220007" }, "nvim-ts-autotag": { "branch": "main", "commit": "6eb4120a1aadef07ac312f1c4bc6456712220007" },
"nvim-ts-context-commentstring": { "branch": "main", "commit": "cb064386e667def1d241317deed9fd1b38f0dc2e" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "cb064386e667def1d241317deed9fd1b38f0dc2e" },

View file

@ -15,9 +15,15 @@ if vim.g.pcode_codeium then
vim.keymap.set("i", "<c-;>", function() vim.keymap.set("i", "<c-;>", function()
return vim.fn["codeium#CycleCompletions"](1) return vim.fn["codeium#CycleCompletions"](1)
end, { expr = true, silent = true }) end, { expr = true, silent = true })
vim.keymap.set("i", "<C-Up>", function()
return vim.fn["codeium#CycleCompletions"](1)
end, { expr = true, silent = true })
vim.keymap.set("i", "<c-,>", function() vim.keymap.set("i", "<c-,>", function()
return vim.fn["codeium#CycleCompletions"](-1) return vim.fn["codeium#CycleCompletions"](-1)
end, { expr = true, silent = true }) end, { expr = true, silent = true })
vim.keymap.set("i", "<C-Down>", function()
return vim.fn["codeium#CycleCompletions"](-1)
end, { expr = true, silent = true })
vim.keymap.set("i", "<c-x>", function() vim.keymap.set("i", "<c-x>", function()
return vim.fn["codeium#Clear"]() return vim.fn["codeium#Clear"]()
end, { expr = true, silent = true }) end, { expr = true, silent = true })