1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 09:10:04 +08:00
SpaceVim/docs/layers/cscope.md
2018-01-01 21:39:59 +08:00

1.3 KiB

title description
SpaceVim cscope layer This layer provide cscope manager for project

Description

This layer provides a smart Cscope and PyCscope helper for SpaceVim.

For more info about the differences between Cscope and other similar tools, please read Comparison with Similar Tools

Features

  • Tag indexing and searching for C-C++ via Cscope
  • Tag indexing and searching for python via PyCscope

Installation

cscope

sudo pacman -S cscope

layer

To use this configuration layer, add it to your ~/.SpaceVim.d/init.vim.

call SpaceVim#layers#load('cscope')

Key bindings

Key Binding Description
SPC m c i Create cscope index
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 u manually update tag database
SPC m c f jump to a file in tag database