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 = { plugins = {
guess-indent.enable = true; guess-indent = {
enable = true;
};
copilot-lua = { copilot-lua = {
enable = true; enable = true;
suggestion = { suggestion.autoTrigger = true;
autoTrigger = true; suggestion.keymap = {
keymap = {
accept = "<M-Right>"; accept = "<M-Right>";
acceptLine = "<M-l>"; acceptLine = "<M-l>";
acceptWord = "<M-w>"; acceptWord = "<M-w>";
}; };
}; };
}; };
keymaps = [
{
mode = "n";
key = ";";
action = ":";
}
{
mode = "n";
key = "<Esc>";
action = "<Cmd>nohlsearch<CR>";
options = {
silent = true;
}; };
}
];
}; };
mpv = { mpv = {