Skip to content

Instantly share code, notes, and snippets.

@dreamflyforever
Created January 4, 2017 02:12
Show Gist options
  • Save dreamflyforever/38ee21517e42484c716b97a5f6290921 to your computer and use it in GitHub Desktop.
Save dreamflyforever/38ee21517e42484c716b97a5f6290921 to your computer and use it in GitHub Desktop.
#!/bin/sh
find ./ -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.py" -o -name "*.s" > cscope.files
cscope -Rbq -i cscope.files
ctags -R --exclude=.git
@dreamflyforever
Copy link
Author

This file is easy to find keyword and enter the function.
command:
./update_db.sh
: cs add cscope.out
: cs f e keyword
press ctrl ] enter function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment