mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-14 23:49:19 +08:00
Add TODO
This commit is contained in:
parent
29d7d9052f
commit
46b0b0b361
@ -6,7 +6,21 @@ function! SpaceVim#layers#tags#plugins()
|
||||
endfunction
|
||||
|
||||
function! SpaceVim#layers#tags#config()
|
||||
let g:_spacevim_mappings_space.m.g = {'name' : '+gtags'}
|
||||
call SpaceVim#mapping#space#def('nnoremap', ['m', 'g', 'c'], 'GtagsGenerate!', 'create a gtags database', 1)
|
||||
call SpaceVim#mapping#space#def('nnoremap', ['m', 'g', 'u'], 'GtagsGenerate', 'update tag database', 1)
|
||||
" | `SPC m g f` | jump to a file in tag database |
|
||||
" | `SPC m g g` | jump to a location based on context |
|
||||
" | `SPC m g G` | jump to a location based on context (open another window) |
|
||||
" | `SPC m g d` | find definitions |
|
||||
" | `SPC m g i` | present tags in current function only |
|
||||
" | `SPC m g l` | jump to definitions in file |
|
||||
" | `SPC m g n` | jump to next location in context stack |
|
||||
" | `SPC m g p` | jump to previous location in context stack |
|
||||
" | `SPC m g r` | find references |
|
||||
" | `SPC m g R` | resume previous helm-gtags session |
|
||||
" | `SPC m g s` | select any tag in a project retrieved by gtags |
|
||||
" | `SPC m g S` | show stack of visited locations |
|
||||
|
||||
|
||||
|
||||
endfunction
|
||||
|
@ -18,6 +18,7 @@ function! SpaceVim#mapping#space#init() abort
|
||||
let g:_spacevim_mappings_space.c = {'name' : '+Comments'}
|
||||
let g:_spacevim_mappings_space.f = {'name' : '+Files'}
|
||||
let g:_spacevim_mappings_space.j = {'name' : '+Jump/Join/Split'}
|
||||
let g:_spacevim_mappings_space.m = {'name' : '+Major-mode'}
|
||||
let g:_spacevim_mappings_space.w = {'name' : '+Windows'}
|
||||
let g:_spacevim_mappings_space.p = {'name' : '+Projects'}
|
||||
let g:_spacevim_mappings_space.h = {'name' : '+Help'}
|
||||
|
Loading…
x
Reference in New Issue
Block a user