This commit is contained in:
2024-06-23 11:08:17 -04:00
parent 643b047d2c
commit 8e2e747738

View File

@@ -916,3 +916,6 @@ vim.api.nvim_create_user_command('Wex', function()
vim.cmd 'w'
vim.cmd 'Oil'
end, {})
vim.api.nvim_create_user_command('G', function(opts)
vim.cmd('!' .. 'git ' .. table.concat(opts.fargs, ' '))
end, { nargs = '+' })