diff --git a/plug.vim b/plug.vim index c539ed7..32cf7b7 100644 --- a/plug.vim +++ b/plug.vim @@ -606,6 +606,7 @@ function! s:prepare() endif silent! unmap silent! unmap L + silent! unmap o silent! unmap X setlocal buftype=nofile bufhidden=wipe nobuflisted noswapfile nowrap cursorline modifiable setf vim-plug @@ -1535,6 +1536,7 @@ function! s:diff() call setline(1, cnt == 0 ? 'No updates.' : 'Last update:') nnoremap :silent! call preview_commit() + nnoremap o :silent! call preview_commit() nnoremap X :call revert() normal! gg setlocal nomodifiable