43 lines
671 B
Nix
43 lines
671 B
Nix
{
|
|
programs.nixvim = {
|
|
enable = true;
|
|
|
|
colorschemes.nightfox = {
|
|
enable = true;
|
|
flavor = "nordfox";
|
|
};
|
|
|
|
plugins = {
|
|
guess-indent = {
|
|
enable = true;
|
|
};
|
|
|
|
copilot-lua = {
|
|
enable = true;
|
|
suggestion.autoTrigger = true;
|
|
suggestion.keymap = {
|
|
accept = "<M-a>";
|
|
acceptLine = "<M-l>";
|
|
acceptWord = "<M-w>";
|
|
};
|
|
};
|
|
};
|
|
|
|
keymaps = [
|
|
{
|
|
mode = "n";
|
|
key = ";";
|
|
action = ":";
|
|
}
|
|
{
|
|
mode = "n";
|
|
key = "<Esc>";
|
|
action = "<Cmd>nohlsearch<CR>";
|
|
options = {
|
|
silent = true;
|
|
};
|
|
}
|
|
];
|
|
};
|
|
}
|