Fix the movement key mapping issue.

This commit is contained in:
Steve Losh 2011-03-13 16:21:22 -04:00
parent f9bd145fd6
commit 39b4016784

View File

@ -432,8 +432,8 @@ endfunction"}}}
"{{{ Gundo buffer settings "{{{ Gundo buffer settings
function! s:GundoMapGraph()"{{{ function! s:GundoMapGraph()"{{{
exec 'nnoremap <script> <silent>' . g:gundo_map_move_older . " :call <sid>GundoMove(1)<CR>" exec 'nnoremap <script> <silent> <buffer> ' . g:gundo_map_move_older . " :call <sid>GundoMove(1)<CR>"
exec 'nnoremap <script> <silent>' . g:gundo_map_move_newer . " :call <sid>GundoMove(-1)<CR>" exec 'nnoremap <script> <silent> <buffer> ' . g:gundo_map_move_newer . " :call <sid>GundoMove(-1)<CR>"
nnoremap <script> <silent> <buffer> <CR> :call <sid>GundoRevert()<CR> nnoremap <script> <silent> <buffer> <CR> :call <sid>GundoRevert()<CR>
nnoremap <script> <silent> <buffer> o :call <sid>GundoRevert()<CR> nnoremap <script> <silent> <buffer> o :call <sid>GundoRevert()<CR>
nnoremap <script> <silent> <buffer> <down> :call <sid>GundoMove(1)<CR> nnoremap <script> <silent> <buffer> <down> :call <sid>GundoMove(1)<CR>