Keymaps for Codeium #1872
Replies: 1 comment 4 replies
-
In your first example you are defining lua functions as your rhs (action), while in your nixvim example you are not. Probably better to port what you had before exactly before attempting to optimise it: keymaps = [
{
action.__raw = "function() return vim.fn['codeium#Accept']() end";
key = "<C-u>";
mode = "i";
options = {
desc = "Codeium Cycle Completitions";
expr = true;
};
}
]; I think IDK if the lua function wrapping a vim function is strictly necessary, it should be possible to use the vim fn directly as you proposed Have you tried calling the function directly from vim's command mode (without a keymapping)?
The only other question is; is codeium actually enabled and loaded? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there! I want to set the keybinds for Codeium, but i can't get them to work.
This is from my old lua config:
I tried it like that, but that did not work:
Can you tell me how to do it? ❤️
Beta Was this translation helpful? Give feedback.
All reactions