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 = {},
|
overrides = {},
|
||||||
dim_inactive = false,
|
dim_inactive = false,
|
||||||
transparent_mode = false,
|
transparent_mode = true,
|
||||||
})
|
})
|
||||||
vim.cmd("colorscheme gruvbox")
|
vim.cmd("colorscheme gruvbox")
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,8 @@ local keymap = {
|
||||||
},
|
},
|
||||||
g = {
|
g = {
|
||||||
name = '+git',
|
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' },
|
b = { '<Cmd>Telescope git_branches<CR>', 'Branches' },
|
||||||
s = { '<Cmd>Telescope git_status<CR>', 'Status' },
|
s = { '<Cmd>Telescope git_status<CR>', 'Status' },
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -110,6 +110,19 @@ local plugins = {
|
||||||
require('mini.starter').setup()
|
require('mini.starter').setup()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"kdheepak/lazygit.nvim",
|
||||||
|
cmd = {
|
||||||
|
"LazyGit",
|
||||||
|
"LazyGitConfig",
|
||||||
|
"LazyGitCurrentFile",
|
||||||
|
"LazyGitFilter",
|
||||||
|
"LazyGitFilterCurrentFile",
|
||||||
|
},
|
||||||
|
dependencies = {
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue