From b51f9bc1014ce350abe73f2c419e0bf6512194c2 Mon Sep 17 00:00:00 2001 From: Andrey0189 Date: Wed, 17 Apr 2024 05:52:14 +0500 Subject: Initial commit --- nixos/modules/nixvim/keymaps.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 nixos/modules/nixvim/keymaps.nix (limited to 'nixos/modules/nixvim/keymaps.nix') diff --git a/nixos/modules/nixvim/keymaps.nix b/nixos/modules/nixvim/keymaps.nix new file mode 100644 index 0000000..e792ea0 --- /dev/null +++ b/nixos/modules/nixvim/keymaps.nix @@ -0,0 +1,15 @@ +{ + programs.nixvim = { + globals = { + mapleader = "\\"; + maplocalleader = "\\"; + }; + + keymaps = [ + { + key = "n"; + action = "Neotree"; + } + ]; + }; +} -- cgit v1.2.3