diff --git a/lua/crentist/lazy/fugitive.lua b/lua/crentist/lazy/fugitive.lua index aa1c884..f799dfb 100644 --- a/lua/crentist/lazy/fugitive.lua +++ b/lua/crentist/lazy/fugitive.lua @@ -2,6 +2,7 @@ return { 'tpope/vim-fugitive', config = function() vim.keymap.set('n', "gs", vim.cmd.Git) + vim.keymap.set('n', "gl", function () vim.cmd.Git({ 'pull' }) end) vim.api.nvim_create_user_command('Gcm', function() vim.cmd.Git({ 'switch main' }) end, {}) @@ -26,10 +27,6 @@ return { vim.keymap.set('n', "P", function() vim.cmd.Git({ 'pull', '--rebase' }) end, opts) - - -- NOTE: It allows me to easily set the branch i am pushing and any tracking - -- needed if i did not set the branch up correctly - vim.keymap.set('n', "t", ":Git push -u origin ", opts); end, }) end