Skip to content

vimuxx/cscope_maps.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Install

cs only

curl https://raw.githubusercontent.com/vimuxx/cscope_maps.vim/master/cs -o /usr/local/bin/cs

or with cscope_maps.vim installed, see .vim

ln -s ~/.vim/pack/foo/start/cscope_maps.vim/cs /usr/local/bin/cs

Usage

# cs help
Usage:

       [KBUILD_ABS_SRCTREE=1] [SYMLINKS=1]   cs [dir/]         # for kernel
       [KBUILD_ABS_SRCTREE=1] [SYMLINKS=1]   cs find [dir/]
       [KBUILD_ABS_SRCTREE=1]                cs freebsd
       [KBUILD_ABS_SRCTREE=1] [SYMLINKS=1]   cs gn dir/
       [KBUILD_ABS_SRCTREE=1] [SYMLINKS=1]   cs llvm
       [KBUILD_ABS_SRCTREE=1] [SYMLINKS=1]   cs qemu
       [KBUILD_ABS_SRCTREE=1] [SYMLINKS=1]   cs uboot
       [KBUILD_ABS_SRCTREE=1] [SYMLINKS=1]   cs uefi

  make [KBUILD_ABS_SRCTREE=1] COMPILED_SOURCE=1 [O=dir/] cscope compile_commands.json
                                                         ↓              ↓
                                                         for cscope     for clangd

About

Script to find compiled sources.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published