From 4586ddd4e2b2e02d05e0fb863186ceacfd1578f2 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Sun, 6 Aug 2023 00:35:14 +0200 Subject: [PATCH] vim: add plugin 'NeogitOrg/neogit' --- config/nvim/lua/user/plugins/neogit.lua | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 config/nvim/lua/user/plugins/neogit.lua diff --git a/config/nvim/lua/user/plugins/neogit.lua b/config/nvim/lua/user/plugins/neogit.lua new file mode 100644 index 0000000..bbd2a6e --- /dev/null +++ b/config/nvim/lua/user/plugins/neogit.lua @@ -0,0 +1,22 @@ +return { + 'NeogitOrg/neogit', + + config = function() + require('neogit').setup { + disable_hint = true, + signs = { + section = { '', ''}, + item = { '', ''}, + hunk = { '', ''}, + }, + mappings = { + status = { + o = 'Toggle', + }, + }, + } + + vim.keymap.set('n', 'ng', 'Neogit') + end, +} +