mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
So far, this is just based on mightymac. The other devices will be updated soon.
38 lines
921 B
Lua
38 lines
921 B
Lua
return {
|
|
{
|
|
"lewis6991/gitsigns.nvim",
|
|
config = function()
|
|
require("gitsigns").setup({
|
|
current_line_blame = true,
|
|
})
|
|
|
|
vim.keymap.set("n", "<leader gp", ":Gitsigns preview_hunk<CR>", {})
|
|
end,
|
|
},
|
|
{
|
|
"tpope/vim-fugitive",
|
|
},
|
|
{
|
|
"kdheepak/lazygit.nvim",
|
|
cmd = {
|
|
"LazyGit",
|
|
"LazyGitConfig",
|
|
"LazyGitCurrentFile",
|
|
"LazyGitFilter",
|
|
"LazyGitFilterCurrentFile",
|
|
},
|
|
-- optional for floating window border decoration
|
|
dependencies = {
|
|
"nvim-lua/plenary.nvim",
|
|
"nvim-telescope/telescope.nvim",
|
|
},
|
|
-- setting the keybinding for LazyGit with 'keys' is recommended in
|
|
-- order to load the plugin when the command is run for the first time
|
|
keys = {
|
|
{ "<leader>lg", "<cmd>LazyGit<cr>", desc = "LazyGit" },
|
|
},
|
|
config = function()
|
|
require("telescope").load_extension("lazygit")
|
|
end,
|
|
},
|
|
}
|