Vi Automatically search for cscope

view story

http://ubuntuforums.org – Hello, I am a vimer, and I am used to combine with cscope to read code. The way I desire is as following: When I open a file Code: vi /path3/path2/path1/filename , then, vi automatically search from path1->path2->path3 for cscope.out file? If found the nearest cscope.out file, then it load it automatically. Could this function somehow realized? (Hardware)