Refine NixVim

This commit is contained in:
Vili Sinervä 2025-01-02 15:59:37 +02:00
parent f3b14a0357
commit 9dd5af3c2f
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996

View file

@ -101,22 +101,18 @@ in
{ {
key = "<C-h>"; key = "<C-h>";
action = "left"; action = "left";
#options.silent = true;
} }
{ {
key = "<C-j>"; key = "<C-j>";
action = "down"; action = "down";
#options.silent = true;
} }
{ {
key = "<C-k>"; key = "<C-k>";
action = "up"; action = "up";
#options.silent = true;
} }
{ {
key = "<C-l>"; key = "<C-l>";
action = "right"; action = "right";
#options.silent = true;
} }
]; ];
}; };
@ -129,6 +125,11 @@ in
web-devicons.enable = true; web-devicons.enable = true;
which-key = { which-key = {
enable = true; enable = true;
settings.delay.__raw = ''
function(ctx)
return ctx.plugin and 0 or 1000
end
'';
}; };
cmp = { cmp = {