Update to (somewhat?) dendritic pattern
Heavily inspired by https://github.com/Doc-Steve/dendritic-design-with-flake-parts. > Atomic commits? Never heard of them!
This commit is contained in:
25
modules/programs/nixvim/_nixvim-config/keymaps.nix
Normal file
25
modules/programs/nixvim/_nixvim-config/keymaps.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ ... }: {
|
||||
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";
|
||||
}
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user