diff --git a/lua/custom/plugins/fugitive.lua b/lua/custom/plugins/fugitive.lua index 6d12068..5562ab2 100644 --- a/lua/custom/plugins/fugitive.lua +++ b/lua/custom/plugins/fugitive.lua @@ -1,5 +1,11 @@ -- Switch in fugitive.vim status window with the current one vim.keymap.set('n', 'gs', 'Gedit :', { desc = '[G]it [S]tatus' }) +-- Fetch all changes +vim.keymap.set('n', 'gF', 'Git fetch', { desc = '[G]it [F]etch' }) +-- Push changes +vim.keymap.set('n', 'gP', 'Git push', { desc = '[G]it [P]ush' }) +-- Pull changes +vim.keymap.set('n', 'gp', 'Git pull', { desc = '[G]it [P]ull' }) return { -- Git related plugins