Heavily inspired by https://github.com/Doc-Steve/dendritic-design-with-flake-parts. > Atomic commits? Never heard of them!
26 lines
365 B
Nix
26 lines
365 B
Nix
{ ... }: {
|
|
globals.mapleader = " ";
|
|
|
|
keymaps = [
|
|
{
|
|
key = "<esc>";
|
|
action = ":noh<CR>";
|
|
mode = "n";
|
|
options = {
|
|
silent = true;
|
|
desc = "Clear search highlight";
|
|
};
|
|
}
|
|
{
|
|
key = "j";
|
|
action = "gj";
|
|
mode = "n";
|
|
}
|
|
{
|
|
key = "k";
|
|
action = "gk";
|
|
mode = "n";
|
|
}
|
|
];
|
|
}
|