From 88fba3562a4c66d3dc20f699e905982775498576 Mon Sep 17 00:00:00 2001 From: Aditya Date: Fri, 1 Mar 2024 16:00:08 +0530 Subject: [PATCH] add keymaps --- config/default.nix | 1 + keymaps.nix | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 keymaps.nix diff --git a/config/default.nix b/config/default.nix index 130ff7c..f2c4773 100644 --- a/config/default.nix +++ b/config/default.nix @@ -2,5 +2,6 @@ imports = [ ./sets.nix ./dap/dap.nix + ./keymaps.nix ]; } diff --git a/keymaps.nix b/keymaps.nix new file mode 100644 index 0000000..9cb2520 --- /dev/null +++ b/keymaps.nix @@ -0,0 +1,17 @@ +{ + globals.mapleader = " "; + + keymaps = [ + # General maps + { + mode = "n"; + key = "f"; + action = "+find/file"; + } + { + mode = "n"; + key = "s"; + action = "+search"; + } + ]; +}