Added lazy git to nvim
This commit is contained in:
parent
db9cc4a72c
commit
a2adc703f4
3 changed files with 16 additions and 2 deletions
|
|
@ -26,6 +26,6 @@ require("gruvbox").setup({
|
|||
},
|
||||
overrides = {},
|
||||
dim_inactive = false,
|
||||
transparent_mode = false,
|
||||
transparent_mode = true,
|
||||
})
|
||||
vim.cmd("colorscheme gruvbox")
|
||||
|
|
|
|||
|
|
@ -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' },
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue