Add r mapping to preview current status

This commit is contained in:
heavenshell 2012-02-16 21:17:21 +09:00
parent 82de3eb07f
commit 3f41a2cb6d
2 changed files with 2 additions and 0 deletions

View File

@ -114,6 +114,7 @@ function! s:GundoMapGraph()"{{{
nnoremap <script> <silent> <buffer> gg gg:call <sid>GundoMove(1)<CR> 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>GundoPlayTo()<CR>
nnoremap <script> <silent> <buffer> p :call <sid>GundoRenderChangePreview()<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> nnoremap <script> <silent> <buffer> q :call <sid>GundoClose()<CR>
cabbrev <script> <silent> <buffer> q call <sid>GundoClose() cabbrev <script> <silent> <buffer> q call <sid>GundoClose()
cabbrev <script> <silent> <buffer> quit call <sid>GundoClose() cabbrev <script> <silent> <buffer> quit call <sid>GundoClose()

View File

@ -238,6 +238,7 @@ GitHub: http://github.com/sjl/gundo.vim/
7. Changelog *GundoChangelog* 7. Changelog *GundoChangelog*
v2.3.1 v2.3.1
* Add auto preview option. * Add auto preview option.
* Add 'r' mapping to preview current state.
v2.3.0 v2.3.0
* Add statusline configuration. * Add statusline configuration.
v2.2.2 v2.2.2