Added lazy git to nvim

This commit is contained in:
Warwick 2024-06-25 12:22:32 +01:00
parent db9cc4a72c
commit a2adc703f4
3 changed files with 16 additions and 2 deletions

View file

@ -26,6 +26,6 @@ require("gruvbox").setup({
},
overrides = {},
dim_inactive = false,
transparent_mode = false,
transparent_mode = true,
})
vim.cmd("colorscheme gruvbox")

View file

@ -29,7 +29,8 @@ local keymap = {
},
g = {
name = '+git',
g = { '<Cmd>Telescope git_commits<CR>', 'Commits' },
l = { '<Cmd>LazyGit<CR>', 'Commits' },
g = { '<Cmd>Telescope git_commits<CR>', 'LazyGit' },
b = { '<Cmd>Telescope git_branches<CR>', 'Branches' },
s = { '<Cmd>Telescope git_status<CR>', 'Status' },
},

View file

@ -110,6 +110,19 @@ local plugins = {
require('mini.starter').setup()
end
},
{
"kdheepak/lazygit.nvim",
cmd = {
"LazyGit",
"LazyGitConfig",
"LazyGitCurrentFile",
"LazyGitFilter",
"LazyGitFilterCurrentFile",
},
dependencies = {
"nvim-lua/plenary.nvim",
}
}
}