3 ms·
I've been testing your recommendation of using ag in ctrlP (let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""'), but the performance seems to be pretty much
by JD557 11y ago
I've been testing your recommendation of using ag in ctrlP (let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""'), but the performance seems to be pretty much the same. Do you notice that much of a difference?
Disclaimer: I'm using a SSD.
- octref 11y agoI'm using command-t and it works fine for me even in large code base. AFAIK, ag shines for searching code in large code base, if you are just doing matching with a list of file paths, ag is an overkill. EDIT: And if you set `wildignore` correctly, you wouldn't have a lot of files. Getting node_modules/ out of my Command-T result made it much faster. I actually wrote a plugin[0] to extract patterns from `.gitignore` and apply to `wildignore`, so that Command-T and CtrlP could have a shorter list to search for. [0]: https://github.com/octref/RootIgnore https://github.com/octref/RootIgnore
- eru 11y agoShouldn't even large code bases fit into your RAM's disk cache these days?