diff --git a/autoload/SpaceVim/layers/cscope.vim b/autoload/SpaceVim/layers/cscope.vim index 4150d781d..aaf014dc9 100644 --- a/autoload/SpaceVim/layers/cscope.vim +++ b/autoload/SpaceVim/layers/cscope.vim @@ -16,4 +16,6 @@ function! SpaceVim#layers#cscope#config() abort call SpaceVim#mapping#space#def('nnoremap', ['m', 'c', 'F'], 'Unite cscope/including_this_file', 'find files including this file', 1) call SpaceVim#mapping#space#def('nnoremap', ['m', 'c', 'e'], 'Unite cscope/egrep_pattern', 'Find this egrep pattern', 1) call SpaceVim#mapping#space#def('nnoremap', ['m', 'c', 't'], 'Unite cscope/text_string', 'find this text string', 1) + call SpaceVim#mapping#space#def('nnoremap', ['m', 'c', '='], 'Unite cscope/assignments_to_symbol', 'find assignments to this symbol', 1) + call SpaceVim#mapping#space#def('nnoremap', ['m', 'c', 'i'], 'call CscopeUpdateDB()', 'create cscope index', 1) endfunction diff --git a/docs/layers/cscope.md b/docs/layers/cscope.md index e042e30b2..86307227f 100644 --- a/docs/layers/cscope.md +++ b/docs/layers/cscope.md @@ -40,7 +40,6 @@ call SpaceVim#layers#load('cscope') | `SPC m c C` | Find functions calling this function | | `SPC m c d` | find global definition of a symbol | | `SPC m c r` | find references of a symbol | -| `SPC m c u` | manually update tag database | | `SPC m c f` | find file | | `SPC m c F` | find which files include a file | | `SPC m c e` | search regular expression |