Map "q" to close the graph.

This commit is contained in:
Steve Losh 2010-10-15 18:20:53 -04:00
parent 4e76e0e8ff
commit 18068eb250

View File

@ -83,6 +83,7 @@ function! s:GundoOpenBuffer()
nnoremap <script> <silent> <buffer> gg gg:call <sid>GundoMove(1)<CR>
nnoremap <script> <silent> <buffer> G G:call <sid>GundoMove(-1)<CR>
nnoremap <script> <silent> <buffer> P :call <sid>GundoPlayTo()<CR>
nnoremap <script> <silent> <buffer> q :call <sid>GundoToggle()<CR>
else
let existing_gundo_window = bufwinnr(existing_gundo_buffer)