1
0
Fork 0

nvim: open neogit in split window

This commit is contained in:
tastytea 2022-08-12 20:00:52 +02:00
parent 082f7d7be6
commit 47e3ac8493
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 3 additions and 1 deletions

View File

@ -24,7 +24,9 @@ packer.use {
-- }
}
end,
map('n', '<Leader>g', ':Neogit<cr>')
map('n', '<Leader>g', function()
require('neogit').open({ kind = "vsplit" })
end)
}
-- start git commits in insert mode