SpaceVim

A modular Vim/Neovim configuration


Home | About | Quick start guide | Documentation | Development | Community | Sponsors | 中文


Available Layers » cscope

Intro

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

Install

cscope

For Archlinux

sudo pacman -S cscope

For Ubuntu

sudo apt install cscope

In windows, you can use scoop to install cscope:

scoop install cscope

layer

To use this configuration layer, add it to your configuration file.

[[layers]]
    name = "cscope"

Layer options

Key bindings

Key Binding Description
SPC m c = Find assignments to this symbol
SPC m c i Create cscope DB
SPC m c u Update cscope DBs
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 file
SPC m c F find which files include a file
SPC m c e search regular expression
SPC m c t search text

Powered by Jekyll