From 22d1d27b4e6f5be451f612cfe4755cca76166666 Mon Sep 17 00:00:00 2001 From: Roy Dumblauskas Date: Mon, 9 Jun 2025 15:00:39 -0500 Subject: [PATCH] new key commands for switching focus and toggling neo-tree --- home.nix | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/home.nix b/home.nix index cdcd7a6..8a969ec 100755 --- a/home.nix +++ b/home.nix @@ -241,6 +241,45 @@ expandtab = true; }; + keymaps = [ + { + action = "Neotree toggle"; + key = "nt"; + mode = [ "n" ]; + options.silent = true; + options.desc = "Toggle Neotree"; + } + { + action = "h"; + key = "nh"; + mode = [ "n" ]; + options.silent = true; + options.desc = "Focus left"; + } + { + action = "l"; + key = "nl"; + mode = [ "n" ]; + options.silent = true; + options.desc = "Focus right"; + } + { + action = "j"; + key = "nj"; + mode = [ "n" ]; + options.silent = true; + options.desc = "Focus down"; + } + { + action = "k"; + key = "nk"; + mode = [ "n" ]; + options.silent = true; + options.desc = "Focus up"; + } + + ]; + plugins = { lualine.enable = true; lsp-lines.enable = true;