diff --git a/plug.vim b/plug.vim index 8be364c..229053d 100644 --- a/plug.vim +++ b/plug.vim @@ -1904,6 +1904,8 @@ function! s:preview_commit() setlocal filetype=git buftype=nofile nobuflisted execute 'silent read !cd' s:shellesc(g:plugs[name].dir) '&& git show --pretty=medium' sha normal! gg"_dd + setlocal nomodifiable + nnoremap q :q wincmd p endfunction