From 54142dba0991ecbe3031ef532d0a379ee3c58871 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Wed, 10 Dec 2025 22:42:35 +0530 Subject: Separated nixvim config into modules --- modules/tools/nixvim/keymaps.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 modules/tools/nixvim/keymaps.nix (limited to 'modules/tools/nixvim/keymaps.nix') diff --git a/modules/tools/nixvim/keymaps.nix b/modules/tools/nixvim/keymaps.nix new file mode 100644 index 0000000..c6990b6 --- /dev/null +++ b/modules/tools/nixvim/keymaps.nix @@ -0,0 +1,17 @@ +{ pkgs, config, lib, ... }: + +{ + config = lib.mkIf config.tools.nixvim.enable { + programs.nixvim.keymaps = [ + { key = ""; action = "h"; } + { key = ""; action = "j"; } + { key = ""; action = "k"; } + { key = ""; action = "l"; } + { + key = ""; + action = "NvimTreeToggle"; + mode = [ "n" "i" ]; + } + ]; + }; +} -- cgit v1.2.3