mirror of
https://github.com/tpope/vim-fugitive.git
synced 2026-01-30 14:45:27 +08:00
Add :GUnlink, like in eunuch.vim
This currently mirrors :GRemove, but gives us the option to add a third variant.
This commit is contained in:
@@ -6629,6 +6629,10 @@ function! fugitive#RemoveCommand(line1, line2, range, bang, mods, arg, ...) abor
|
||||
return s:Remove('edit', a:bang)
|
||||
endfunction
|
||||
|
||||
function! fugitive#UnlinkCommand(line1, line2, range, bang, mods, arg, ...) abort
|
||||
return s:Remove('edit', a:bang)
|
||||
endfunction
|
||||
|
||||
function! fugitive#DeleteCommand(line1, line2, range, bang, mods, arg, ...) abort
|
||||
return s:Remove('bdelete', a:bang)
|
||||
endfunction
|
||||
|
||||
Reference in New Issue
Block a user