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>tt" ":ToggleTerm<CR>" // desc "[T]oggle Terminal")
(nmap "<leader>tg" ":ToggleTerm <CR>" // 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";
};
"<leader>g" = {
action = "buffers";
desc = "Search [G]it files";
action = "git_status";
desc = "Search [G]it status";
};
"<leader>r" = {
action = "oldfiles";