فهرست منبع

Use blackhole register when deleting commit list

Junegunn Choi 11 سال پیش
والد
کامیت
3f82808bea
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      plug.vim

+ 1 - 1
plug.vim

@@ -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