local installed, neogit = pcall(require, "neogit") if installed then neogit.setup({ integrations = { diffview = true, }, }) vim.api.nvim_set_keymap( "n", "ng", [[lua require('neogit').open({ kind = "split" })]], { noremap = true, silent = true } ) end