return { 'NeogitOrg/neogit', cmd = { 'Neogit', 'NeogitCommit', 'NeogitLogCurrent', 'NeogitResetState' }, keys = { { 'gs', 'Neogit' }, { 'gh', 'NeogitLogCurrent' }, }, opts = function() return { commit_editor = { spell_check = false }, mappings = { commit_editor = { [''] = 'Submit', [''] = 'Abort', }, commit_editor_I = { [''] = 'Submit', [''] = 'Abort', }, popup = { ['p'] = 'PushPopup', ['P'] = 'PullPopup', }, }, } end, }