Add fugitive

This commit is contained in:
iFargle 2024-02-13 12:46:13 +09:00
parent 6030ac06f2
commit 83561bf1d8

View file

@ -52,6 +52,8 @@
(nmap "<leader>t" "<Nop>" // desc "[T]oggleTerm" // silent) (nmap "<leader>t" "<Nop>" // desc "[T]oggleTerm" // silent)
(nmap "<leader>tt" ":ToggleTerm<CR>" // desc "[T]oggle Terminal") (nmap "<leader>tt" ":ToggleTerm<CR>" // desc "[T]oggle Terminal")
(nmap "<leader>tg" ":ToggleTerm <CR>" // desc "Show Lazy[G]it") (nmap "<leader>tg" ":ToggleTerm <CR>" // desc "Show Lazy[G]it")
# Fugitive
]; ];
options = { options = {
@ -92,10 +94,7 @@
# Colorize hex colors inline # Colorize hex colors inline
nvim-colorizer.enable = true; nvim-colorizer.enable = true;
# git plugin for vim # git plugin for vim
git-worktree = { fugitive.enable = true;
enable = true;
enableTelescope = true;
};
telescope = { telescope = {
enable = true; enable = true;
@ -122,8 +121,8 @@
desc = "Search for [W]ord under cursor"; desc = "Search for [W]ord under cursor";
}; };
"<leader>g" = { "<leader>g" = {
action = "buffers"; action = "git_status";
desc = "Search [G]it files"; desc = "Search [G]it status";
}; };
"<leader>r" = { "<leader>r" = {
action = "oldfiles"; action = "oldfiles";