return { 'NeogitOrg/neogit', cmd = 'Neogit', keys = { { 'gb', 'Neogit branch' }, { 'gs', 'Neogit' }, { 'gL', 'Neogit log' }, { 'gc', 'Neogit commit' }, { 'gp', 'Neogit push' }, { 'gP', 'Neogit pull' }, { 'gr', 'Neogit rebase' }, { 'gm', 'Neogit merge' }, }, opts = function() return { commit_editor = { spell_check = false }, mappings = { commit_editor = { [''] = 'Submit', [''] = 'Abort', }, commit_editor_I = { [''] = 'Submit', [''] = 'Abort', }, popup = { ['p'] = 'PushPopup', ['P'] = 'PullPopup', }, }, } end, }