From 83561bf1d84ecd64cb152de5404b7314fa3de12f Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 13 Feb 2024 12:46:13 +0900 Subject: [PATCH] Add fugitive --- home-manager/common/software/cli/nixvim.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/home-manager/common/software/cli/nixvim.nix b/home-manager/common/software/cli/nixvim.nix index a7700346..7b7947ec 100644 --- a/home-manager/common/software/cli/nixvim.nix +++ b/home-manager/common/software/cli/nixvim.nix @@ -52,6 +52,8 @@ (nmap "t" "" // desc "[T]oggleTerm" // silent) (nmap "tt" ":ToggleTerm" // desc "[T]oggle Terminal") (nmap "tg" ":ToggleTerm " // desc "Show Lazy[G]it") + # Fugitive + ]; options = { @@ -92,10 +94,7 @@ # Colorize hex colors inline nvim-colorizer.enable = true; # git plugin for vim - git-worktree = { - enable = true; - enableTelescope = true; - }; + fugitive.enable = true; telescope = { enable = true; @@ -122,8 +121,8 @@ desc = "Search for [W]ord under cursor"; }; "g" = { - action = "buffers"; - desc = "Search [G]it files"; + action = "git_status"; + desc = "Search [G]it status"; }; "r" = { action = "oldfiles";