Use blackhole register when deleting commit list

This commit is contained in:
Junegunn Choi 2014-09-04 14:09:06 +09:00
parent 7474edf13f
commit 3f82808bea

View File

@ -1236,7 +1236,7 @@ function! s:revert()
call system('git reset --hard HEAD@{1} && git checkout '.s:esc(g:plugs[name].branch))
cd -
setlocal modifiable
normal! dap
normal! "_dap
setlocal nomodifiable
echo 'Reverted.'
endfunction