diff --git a/autoload/SpaceVim/mapping/g.vim b/autoload/SpaceVim/mapping/g.vim index 09659f9c0..ff2787f1f 100644 --- a/autoload/SpaceVim/mapping/g.vim +++ b/autoload/SpaceVim/mapping/g.vim @@ -94,10 +94,8 @@ function! SpaceVim#mapping#g#init() abort nnoremap gs gs let g:_spacevim_mappings_g['v'] = ['call feedkeys("gv", "n")', 'reselect the previous Visual area'] nnoremap gv gv - - - - + let g:_spacevim_mappings_g[''] = ['call feedkeys("g", "n")', 'jump to tag under cursor'] + nnoremap g g let g:_spacevim_mappings_g['d'] = ['call SpaceVim#mapping#gd()', 'goto definition'] call SpaceVim#mapping#def('nnoremap ', 'gd', ':call SpaceVim#mapping#gd()', 'Goto declaration', '')