feat(home): Add neovim keymaps, improve readability

This commit is contained in:
xezo360hye 2024-08-06 12:09:59 +03:00
parent f5b01e9f8f
commit c3327f0152

View File

@ -38,20 +38,36 @@
};
plugins = {
guess-indent.enable = true;
guess-indent = {
enable = true;
};
copilot-lua = {
enable = true;
suggestion = {
autoTrigger = true;
keymap = {
suggestion.autoTrigger = true;
suggestion.keymap = {
accept = "<M-Right>";
acceptLine = "<M-l>";
acceptWord = "<M-w>";
};
};
};
keymaps = [
{
mode = "n";
key = ";";
action = ":";
}
{
mode = "n";
key = "<Esc>";
action = "<Cmd>nohlsearch<CR>";
options = {
silent = true;
};
}
];
};
mpv = {