diff --git a/home/modules/baseline/vim/config.nix b/home/modules/baseline/vim/config.nix index 33e4de2..652b8cd 100644 --- a/home/modules/baseline/vim/config.nix +++ b/home/modules/baseline/vim/config.nix @@ -62,7 +62,7 @@ in { mode = "n"; key = ""; - action = ":Neotree float git_status toggle"; + action = ":Git"; } (winMove "h") (winMove "j") @@ -140,6 +140,12 @@ in } // (if (lib.versionAtLeast lib.version "24.11") then { web-devicons.enable = true; } else { }); + userCommands = { + Ggr = { + command = "Ggrep! | cw | redraw!"; + nargs = "+"; + }; + }; extraConfigLua = builtins.replaceStrings [ "@git@" ] [ "${pkgs.git}/bin/git" ] (builtins.readFile ./extra.lua); extraConfigVim = builtins.readFile ./extra.vimrc; extraPlugins = with pkgs.vimPlugins; [