vim: add plugin 'NeogitOrg/neogit'
This commit is contained in:
parent
7927cfda33
commit
4586ddd4e2
1 changed files with 22 additions and 0 deletions
22
config/nvim/lua/user/plugins/neogit.lua
Normal file
22
config/nvim/lua/user/plugins/neogit.lua
Normal file
|
@ -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', '<leader>ng', '<cmd>Neogit<cr>')
|
||||||
|
end,
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue