ctrlp.vim icon indicating copy to clipboard operation
ctrlp.vim copied to clipboard

If cscope can be integrated into ctrlp, that will be perfect.

Open brookhong opened this issue 13 years ago • 5 comments
trafficstars

brookhong avatar Feb 17 '12 01:02 brookhong

Probably won't be adding this myself since I'm not familiar with cscope. Pull requests are most welcome, though. You can checkout the extensions branch for how to create an extension.

kien avatar Feb 17 '12 17:02 kien

FWIW, cscope is very similar in terms of functionality to ctags, but it finds functions/classes/whatever in a different way. I might take a look at adding this functionality, but with ctags (as that's what I use) sometime this weekend if I have time :)

johnhamelink avatar Feb 28 '12 12:02 johnhamelink

BTW, an extension for ctags had already been added long before this request. I still don't see me adding one for cscope, but if anyone wants to give it a shot, take a look at the ctags one, I imagine it'd be somewhat similar.

kien avatar Jun 29 '12 00:06 kien

cscope support seems to be present in the 'tags' extension, at least if your vimrc contains:

set cscopetag

If I just:

let g:ctrlp_extensions = ['tag']

then I get full tag search that appears to be using my cscope database.

ringerc avatar Jan 19 '15 04:01 ringerc

@ringerc I tried as you recommended but not worked, do I have to set tags option as well? I tried to change tags option but don't know which database to add.

j5shi avatar Apr 12 '17 05:04 j5shi