create keymap to access merginal plugin easier

This commit is contained in:
Baipyrus 2024-08-15 11:45:50 +02:00
parent 8c712f86f8
commit 2758e420cc

View File

@ -21,6 +21,8 @@ return {
vim.keymap.set('n', '<leader>gp', '<cmd>Git pull<cr>', { desc = '[G]it [P]ull' })
-- Open history graph
vim.keymap.set('n', '<leader>gl', '<cmd>Flogsplit<cr><cmd>wincmd k<cr><cmd>q<cr>', { desc = '[G]it [L]og' })
-- Open branch manager
vim.keymap.set('n', '<leader>gm', '<cmd>Merginal<cr>', { desc = '[G]it [M]erginal' })
end,
},
}