mirror of
https://github.com/akr2002/nv.git
synced 2024-11-13 20:49:45 +00:00
add keymaps
This commit is contained in:
parent
d773f3bdfe
commit
88fba3562a
2 changed files with 18 additions and 0 deletions
|
@ -2,5 +2,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
./sets.nix
|
./sets.nix
|
||||||
./dap/dap.nix
|
./dap/dap.nix
|
||||||
|
./keymaps.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
17
keymaps.nix
Normal file
17
keymaps.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
globals.mapleader = " ";
|
||||||
|
|
||||||
|
keymaps = [
|
||||||
|
# General maps
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<leader>f";
|
||||||
|
action = "+find/file";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<leader>s";
|
||||||
|
action = "+search";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue