add keymaps

This commit is contained in:
Aditya 2024-03-01 16:00:08 +05:30
parent d773f3bdfe
commit 88fba3562a
Signed by: aditya
SSH key fingerprint: SHA256:jL1IvWsjjlPtw6HvDIHfXfhO9IkIokNEyIfuFhSdoyU
2 changed files with 18 additions and 0 deletions

View file

@ -2,5 +2,6 @@
imports = [ imports = [
./sets.nix ./sets.nix
./dap/dap.nix ./dap/dap.nix
./keymaps.nix
]; ];
} }

17
keymaps.nix Normal file
View 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";
}
];
}