save
This commit is contained in:
@@ -916,10 +916,3 @@ vim.api.nvim_create_user_command('Wex', function()
|
||||
vim.cmd 'w'
|
||||
vim.cmd 'Oil'
|
||||
end, {})
|
||||
vim.api.nvim_create_user_command('G', function(opts)
|
||||
if #opts.fargs == 0 then
|
||||
vim.cmd '!git status'
|
||||
else
|
||||
vim.cmd('silent! !' .. 'git ' .. table.concat(opts.fargs, ' '))
|
||||
end
|
||||
end, { nargs = '*' })
|
||||
|
||||
Reference in New Issue
Block a user