adds lazygit
This commit is contained in:
parent
5d96e9349b
commit
d78e602f0f
|
@ -21,3 +21,5 @@ opt.termguicolors = true
|
||||||
opt.wrap = false
|
opt.wrap = false
|
||||||
opt.timeoutlen = 222
|
opt.timeoutlen = 222
|
||||||
|
|
||||||
|
-- Set shellcmdflag
|
||||||
|
opt.shellcmdflag = "-c"
|
|
@ -0,0 +1,23 @@
|
||||||
|
return {
|
||||||
|
"kdheepak/lazygit.nvim",
|
||||||
|
-- enabled = vim.api.nvim_get_var("useLazyGit"),
|
||||||
|
cmd = {
|
||||||
|
"LazyGit",
|
||||||
|
"LazyGitConfig",
|
||||||
|
"LazyGitCurrentFile",
|
||||||
|
"LazyGitFilter",
|
||||||
|
"LazyGitFilterCurrentFile",
|
||||||
|
},
|
||||||
|
event = "VeryLazy",
|
||||||
|
keys = {
|
||||||
|
{ "<leader>lg", "<cmd>LazyGit<cr>", desc = "Lazy Git" },
|
||||||
|
},
|
||||||
|
dependencies = {
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
|
"nvim-telescope/telescope.nvim",
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
require("telescope").load_extension("lazygit")
|
||||||
|
end
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue