feat!: added gitsigns in favor of mini.diff
This commit is contained in:
@@ -13,13 +13,13 @@
|
|||||||
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
|
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
|
||||||
"dressing.nvim": { "branch": "master", "commit": "6741f1062d3dc6e4755367a7e9b347b553623f04" },
|
"dressing.nvim": { "branch": "master", "commit": "6741f1062d3dc6e4755367a7e9b347b553623f04" },
|
||||||
"flutter-tools.nvim": { "branch": "main", "commit": "5aa227fa083fd740184b55b5220dfabc24a25cc7" },
|
"flutter-tools.nvim": { "branch": "main", "commit": "5aa227fa083fd740184b55b5220dfabc24a25cc7" },
|
||||||
|
"gitsigns.nvim": { "branch": "main", "commit": "6b1a14eabcebbcca1b9e9163a26b2f8371364cb7" },
|
||||||
"harpoon": { "branch": "harpoon2", "commit": "0378a6c428a0bed6a2781d459d7943843f374bce" },
|
"harpoon": { "branch": "harpoon2", "commit": "0378a6c428a0bed6a2781d459d7943843f374bce" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "a9d7ade203b3f3ee3058c082c62afdf8e4bcb416" },
|
"lazy.nvim": { "branch": "main", "commit": "a9d7ade203b3f3ee3058c082c62afdf8e4bcb416" },
|
||||||
"lspkind.nvim": { "branch": "master", "commit": "1735dd5a5054c1fb7feaf8e8658dbab925f4f0cf" },
|
"lspkind.nvim": { "branch": "master", "commit": "1735dd5a5054c1fb7feaf8e8658dbab925f4f0cf" },
|
||||||
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
|
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "37a336b653f8594df75c827ed589f1c91d91ff6c" },
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "37a336b653f8594df75c827ed589f1c91d91ff6c" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "0950b15060067f752fde13a779a994f59516ce3d" },
|
"mason.nvim": { "branch": "main", "commit": "0950b15060067f752fde13a779a994f59516ce3d" },
|
||||||
"mini.diff": { "branch": "main", "commit": "d052bf31cc01bb1dde0afd129d8dcdd9f36b9d35" },
|
|
||||||
"mini.indentscope": { "branch": "main", "commit": "f0d7faa064c892b96997810afcddfadc3f2a15b3" },
|
"mini.indentscope": { "branch": "main", "commit": "f0d7faa064c892b96997810afcddfadc3f2a15b3" },
|
||||||
"mini.surround": { "branch": "main", "commit": "3cb5b509ad34f2402df4b977be607a614c8c7524" },
|
"mini.surround": { "branch": "main", "commit": "3cb5b509ad34f2402df4b977be607a614c8c7524" },
|
||||||
"neogen": { "branch": "main", "commit": "6de0add4805165317ab7d3d36b5cef48b1b865f3" },
|
"neogen": { "branch": "main", "commit": "6de0add4805165317ab7d3d36b5cef48b1b865f3" },
|
||||||
|
|||||||
@@ -1,22 +1,59 @@
|
|||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"tpope/vim-fugitive",
|
"tpope/vim-fugitive",
|
||||||
keys = {
|
keys = {
|
||||||
{
|
{
|
||||||
"<leader>gs",
|
"<leader>gs",
|
||||||
":tab Git<CR>",
|
":tab Git<CR>",
|
||||||
desc = "Fugitive"
|
desc = "Fugitive",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
lazy = true,
|
lazy = true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"echasnovski/mini.diff",
|
"lewis6991/gitsigns.nvim",
|
||||||
version = false,
|
lazy = false,
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
"<leader>hp",
|
||||||
|
":Gitsigns preview_hunk<CR>",
|
||||||
|
desc = "Preview hunk",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"<leader>hs",
|
||||||
|
":Gitsigns stage_hunk<CR>",
|
||||||
|
desc = "Stage hunk",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"<leader>hu",
|
||||||
|
":Gitsigns undo_stage_hunk<CR>",
|
||||||
|
desc = "Undo stage hunk",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"<leader>gb",
|
||||||
|
":Gitsigns toggle_current_line_blame<CR>",
|
||||||
|
desc = "Toggle current line blame",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"[c",
|
||||||
|
":Gitsigns next_hunk<CR>",
|
||||||
|
desc = "Jump to next hunk",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"]c",
|
||||||
|
":Gitsigns prev_hunk<CR>",
|
||||||
|
desc = "Jump to previous hunk",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
opts = {
|
||||||
|
current_line_blame_opts = {
|
||||||
|
delay = 1000,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
config = true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"sindrets/diffview.nvim",
|
||||||
config = true,
|
config = true,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"sindrets/diffview.nvim",
|
|
||||||
config = true,
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user