2024-05-12 17:38:26 +00:00
|
|
|
return {
|
|
|
|
{
|
|
|
|
"sindrets/diffview.nvim",
|
2024-05-21 22:12:00 +00:00
|
|
|
opts = {
|
|
|
|
keymaps = {
|
|
|
|
file_panel = {
|
|
|
|
{
|
|
|
|
"n", "cc",
|
|
|
|
"<Cmd>Git commit <bar> wincmd J<CR>",
|
|
|
|
{ desc = "Commit staged changes" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"n", "ca",
|
|
|
|
"<Cmd>Git commit --amend <bar> wincmd J<CR>",
|
|
|
|
{ desc = "Amend the last commit" },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"n", "c<space>",
|
|
|
|
":Git commit ",
|
|
|
|
{ desc = "Populate command line with \":Git commit \"" },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
2024-05-12 17:38:26 +00:00
|
|
|
},
|
2024-05-21 22:12:00 +00:00
|
|
|
{
|
|
|
|
"tpope/vim-fugitive"
|
|
|
|
}
|
2024-05-12 17:38:26 +00:00
|
|
|
}
|