From 6c107bf20d834d59d2afc26763fde4c6df2de538 Mon Sep 17 00:00:00 2001 From: sils Date: Sun, 26 Nov 2023 20:25:15 +0100 Subject: fix(u/sils/nixvim): migrate to new keympap format --- users/sils/nixvim/config.nix | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) (limited to 'users/sils/nixvim/config.nix') diff --git a/users/sils/nixvim/config.nix b/users/sils/nixvim/config.nix index c6f6061..56e841d 100644 --- a/users/sils/nixvim/config.nix +++ b/users/sils/nixvim/config.nix @@ -12,7 +12,40 @@ in { linebreak = true; }; colorschemes.gruvbox.enable = true; - inherit maps; + keymaps = [ + { + mode = ["n" "i" "t"]; + key = ""; + action = ''h''; + } + { + mode = ["n" "i" "t"]; + key = ""; + action = ''j''; + } + { + mode = ["n" "i" "t"]; + key = ""; + action = ''k''; + } + { + mode = ["n" "i" "t"]; + key = ""; + action = ''l''; + } + { + key = ""; + action = ":Neotree float reveal_force_cwd"; + } + { + key = ""; + action = ":Neotree current show buffers"; + } + { + key = ""; + action = ":Neotree float git_status"; + } + ]; plugins = { airline = { enable = true; -- cgit v1.3.1