Nvim: add signcol plugin, change gitsigns keybinds

This commit is contained in:
Marko Korhonen 2023-11-21 22:32:32 +02:00
parent d89cc0c053
commit 7f30c278c6
3 changed files with 28 additions and 14 deletions

View file

@ -1,13 +0,0 @@
-- Git status in signcolumn
return {
"lewis6991/gitsigns.nvim",
config = function()
local gitsigns = require("gitsigns")
gitsigns.setup()
require("which-key").register({
["["] = { h = { gitsigns.prev_hunk, "Previous hunk" } },
["]"] = { h = { gitsigns.next_hunk, "Next hunk" } },
})
end,
}