Im using ctrlp.vim and I'm trying to use the :CtrlPTag
feature. I setup ctags using the instructions from this blog post:
https://blog.sensible.io/2014/05/09/supercharge-your-vim-into-ide-with-ctags.html
I've generated a ctags file for my Rails project and all my bundled gems using:
ctags -R --languages=ruby --exclude=.git --exclude=log . $(bundle list --paths)
The ctags file is about 13 MB.
When I try to run :CtrlPTag
and just search for methods the search is very slow. Trying to type and delete the search text almost hangs vim completely.
Does anyone have any suggestions to speed up :CtrlPTag
?
Note: I have tried to setup vimgrep to use 'ag' thinking that would be faster, but that hasn't helped. See: https://thoughtbot.com/blog/why-postgres-wont-always-use-an-index (I imagine this only helps with file searches)
Thanks for the help!