b1e69c24c8f9

ui: map o/up/down
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Thu, 09 Dec 2010 20:30:22 -0500
parents d018089ed71a
children feff77db2f43
branches/tags (none)
files plugin/gundo.vim

Changes

--- a/plugin/gundo.vim	Thu Dec 09 19:56:33 2010 -0500
+++ b/plugin/gundo.vim	Thu Dec 09 20:30:22 2010 -0500
@@ -424,8 +424,11 @@
 
 function! s:GundoMapGraph()"{{{
     nnoremap <script> <silent> <buffer> <CR>          :call <sid>GundoRevert()<CR>
+    nnoremap <script> <silent> <buffer> o             :call <sid>GundoRevert()<CR>
     nnoremap <script> <silent> <buffer> j             :call <sid>GundoMove(1)<CR>
     nnoremap <script> <silent> <buffer> k             :call <sid>GundoMove(-1)<CR>
+    nnoremap <script> <silent> <buffer> <down>        :call <sid>GundoMove(1)<CR>
+    nnoremap <script> <silent> <buffer> <up>          :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>GundoRenderChangePreview()<CR>