Commits

heavenshell committed 11dca79

Add r mapping to preview current status

Comments (0)

Files changed (2)

autoload/gundo.vim

     nnoremap <script> <silent> <buffer> gg            gg:call <sid>GundoMove(1)<CR>
     nnoremap <script> <silent> <buffer> P             :call <sid>GundoPlayTo()<CR>
     nnoremap <script> <silent> <buffer> p             :call <sid>GundoRenderChangePreview()<CR>
+    nnoremap <script> <silent> <buffer> r             :call <sid>GundoRenderPreview()<CR>
     nnoremap <script> <silent> <buffer> q             :call <sid>GundoClose()<CR>
     cabbrev  <script> <silent> <buffer> q             call <sid>GundoClose()
     cabbrev  <script> <silent> <buffer> quit          call <sid>GundoClose()
 7. Changelog                                                  *GundoChangelog*
 v2.3.1
     * Add auto preview option.
+    * Add 'r' mapping to preview current state.
 v2.3.0
     * Add statusline configuration.
 v2.2.2