mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-23 01:09:56 +08:00
docs(cscope): update :h SpaceVim-layers-cscope
This commit is contained in:
parent
2f68beeacb
commit
bf67dbbb15
@ -29,6 +29,27 @@ scriptencoding utf-8
|
|||||||
" 2. `cscope_command`: set the command or path of `cscope` executable.
|
" 2. `cscope_command`: set the command or path of `cscope` executable.
|
||||||
" 3. `open_location`: enable/disable open location list after searching.
|
" 3. `open_location`: enable/disable open location list after searching.
|
||||||
" 4. `preload_path`: set the proload paths.
|
" 4. `preload_path`: set the proload paths.
|
||||||
|
"
|
||||||
|
" @subsection key bindings
|
||||||
|
"
|
||||||
|
" The following key bindings will be added when this layer is loaded.
|
||||||
|
" >
|
||||||
|
" Key binding Description
|
||||||
|
" SPC m c c find functions called by this function
|
||||||
|
" 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 f find files
|
||||||
|
" SPC m c F find files including this file
|
||||||
|
" SPC m c e find this egrep pattern
|
||||||
|
" SPC m c t find this text string
|
||||||
|
" SPC m c = find assignments to this symbol
|
||||||
|
" SPC m c u create cscope index
|
||||||
|
" SPC m c i create cscope database
|
||||||
|
" SPC m c l list cscope database
|
||||||
|
" SPC m c m remove current cscope database
|
||||||
|
" SPC m c M remove all cscope database
|
||||||
|
" <
|
||||||
|
|
||||||
if exists('s:cscope_command')
|
if exists('s:cscope_command')
|
||||||
finish
|
finish
|
||||||
|
@ -1766,6 +1766,27 @@ The layer option can be used when loading the `cscope` layer, for example:
|
|||||||
3. `open_location`: enable/disable open location list after searching.
|
3. `open_location`: enable/disable open location list after searching.
|
||||||
4. `preload_path`: set the proload paths.
|
4. `preload_path`: set the proload paths.
|
||||||
|
|
||||||
|
KEY BINDINGS
|
||||||
|
|
||||||
|
The following key bindings will be added when this layer is loaded.
|
||||||
|
>
|
||||||
|
Key binding Description
|
||||||
|
SPC m c c find functions called by this function
|
||||||
|
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 f find files
|
||||||
|
SPC m c F find files including this file
|
||||||
|
SPC m c e find this egrep pattern
|
||||||
|
SPC m c t find this text string
|
||||||
|
SPC m c = find assignments to this symbol
|
||||||
|
SPC m c u create cscope index
|
||||||
|
SPC m c i create cscope database
|
||||||
|
SPC m c l list cscope database
|
||||||
|
SPC m c m remove current cscope database
|
||||||
|
SPC m c M remove all cscope database
|
||||||
|
<
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
CTRLP *SpaceVim-layers-ctrlp*
|
CTRLP *SpaceVim-layers-ctrlp*
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user