return { "TimUntersberger/neogit", dependencies = { "nvim-lua/plenary.nvim", "sindrets/diffview.nvim", }, cmd = "Neogit", init = function() vim.keymap.set("n", "gg", "Neogit") vim.keymap.set("n", "cc", "Neogit commit") vim.keymap.set("n", "gp", "Neogit pull") vim.keymap.set("n", "gP", "Neogit push") end, config = true, opts = { disable_builtin_notifications = true, kind = "floating", commit_popup = { kind = "floating" }, preview_buffer = { kind = "floating" }, popup = { kind = "floating" }, integrations = { diffview = true, }, }, }