Merge branch 'master' of ssh://hectorone.homedns.org/home/mathieu/GitProject/config

This commit is contained in:
Mathieu Maret 2010-03-07 23:56:20 +01:00
commit ba4728ba57
4 changed files with 6 additions and 1414 deletions

3
.vimrc
View File

@ -272,8 +272,9 @@ if has("cscope")
" add any cscope database in current directory " add any cscope database in current directory
if filereadable("cscope.out") if filereadable("cscope.out")
cscope add cscope.out cscope add cscope.out
endif
" add the database pointed by environment variable " add the database pointed by environment variable
elseif $CSCOPE_DB != "" if $CSCOPE_DB != ""
if filereadable($CSCOPE_DB) if filereadable($CSCOPE_DB)
cscope add $CSCOPE_DB cscope add $CSCOPE_DB
endif endif

File diff suppressed because it is too large Load Diff

View File

@ -21,7 +21,7 @@ export PATH=$OEBASE/bitbake/bin:$PATH
# Scratchbox # Scratchbox
export PATH=/home/mathieu/bin/sb2/bin:$PATH export PATH=/home/mathieu/bin/sb2/bin:$PATH
export CSCOPE_DB=$HOME/cscope/cscope.out
#emacsAndViKeys #emacsAndViKeys
#bindkey -v #bindkey -v
#bindkey "^P" vi-up-line-or-history #bindkey "^P" vi-up-line-or-history

3
HOWTO_CSCOPEDB Normal file
View File

@ -0,0 +1,3 @@
find /my/project/dir -name '*.c' -o -name '*.h' > /foo/cscope.files
cscope -i /foo/cscope.files
CSCOPE_DB=/foo/cscope.out; export CSCOPE_DB