Use blackhole register when deleting commit list
This commit is contained in:
parent
7474edf13f
commit
3f82808bea
2
plug.vim
2
plug.vim
|
@ -1236,7 +1236,7 @@ function! s:revert()
|
||||||
call system('git reset --hard HEAD@{1} && git checkout '.s:esc(g:plugs[name].branch))
|
call system('git reset --hard HEAD@{1} && git checkout '.s:esc(g:plugs[name].branch))
|
||||||
cd -
|
cd -
|
||||||
setlocal modifiable
|
setlocal modifiable
|
||||||
normal! dap
|
normal! "_dap
|
||||||
setlocal nomodifiable
|
setlocal nomodifiable
|
||||||
echo 'Reverted.'
|
echo 'Reverted.'
|
||||||
endfunction
|
endfunction
|
||||||
|
|
Loading…
Reference in New Issue
Block a user