return { { "lewis6991/gitsigns.nvim", event = "BufRead", keys = function() local g = require "gitsigns" return { { "]g", g.next_hunk }, { "[g", g.prev_hunk }, { "gs", g.stage_hunk }, { "gS", g.undo_stage_hunk }, { "gr", g.reset_hunk }, { "gh", g.preview_hunk }, } end, opts = { max_file_length = 1000, current_line_blame = true, current_line_blame_opts = { virt_text_pos = "eol", delay = 300, }, }, }, { "TimUntersberger/neogit", cmd = "Neogit", branch = "nightly", keys = { { "gg", vim.cmd.Neogit } }, opts = { kind = "vsplit", disable_builtin_notifications = true, disable_commit_confirmation = true, disable_hint = true, signs = { section = { "", "" }, item = { "", "" }, hunk = { "", "" }, }, }, }, }