2026-01-28
This commit is contained in:
25
home/nixvim/keymaps.nix
Normal file
25
home/nixvim/keymaps.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{...}: {
|
||||
programs.nixvim.globals.mapleader = " ";
|
||||
|
||||
programs.nixvim.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