e1ec5e0b1b19

Map "q" to close the graph.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Fri, 15 Oct 2010 18:20:53 -0400
parents a5cc91b6f479
children 9978d9124263
branches/tags (none)
files plugin/gundo.vim

Changes

--- a/plugin/gundo.vim	Wed Oct 13 15:26:49 2010 -0400
+++ b/plugin/gundo.vim	Fri Oct 15 18:20:53 2010 -0400
@@ -83,6 +83,7 @@
         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)