11dca79bf921

Add r mapping to preview current status
[view raw] [browse files]
author heavenshell <heavenshell.jp@gmail.com>
date Thu, 16 Feb 2012 21:17:21 +0900
parents 058932e3038a
children 8078f3e3ed0f
branches/tags (none)
files autoload/gundo.vim doc/gundo.txt

Changes

--- a/autoload/gundo.vim	Thu Feb 16 00:27:25 2012 +0900
+++ b/autoload/gundo.vim	Thu Feb 16 21:17:21 2012 +0900
@@ -114,6 +114,7 @@
     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()
--- a/doc/gundo.txt	Thu Feb 16 00:27:25 2012 +0900
+++ b/doc/gundo.txt	Thu Feb 16 21:17:21 2012 +0900
@@ -238,6 +238,7 @@
 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