From: Colin Patrick McCabe Date: Tue, 6 Apr 2010 05:58:23 +0000 (-0700) Subject: Some cscope fixes X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d7310f4157dd6768ad3120dee41b52f9b03ed3c;p=cmccabe-etc Some cscope fixes --- diff --git a/.bashrc b/.bashrc index b477840..c71388c 100644 --- a/.bashrc +++ b/.bashrc @@ -14,6 +14,8 @@ case $- in alias wget='wget --user-agent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"' alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde' export PATH="${PATH}:${HOME}/cmccabe-bin" + export EDITOR="/usr/bin/vim" + export CSCOPE_EDITOR="${EDITOR}" ;; *) # non-interactive shell diff --git a/.vim/plugin/cscope_settings.vim b/.vim/plugin/cscope_settings.vim index 86732b9..83dca8a 100644 --- a/.vim/plugin/cscope_settings.vim +++ b/.vim/plugin/cscope_settings.vim @@ -6,9 +6,9 @@ if has("cscope") set csto=0 " add any cscope database in current directory - if filereadable("cscope.out") - cs add cscope.out - endif + "if filereadable("cscope.out") + "cs add cscope.out + "endif " show msg when any other cscope db added set cscopeverbose