ctrlp

Slow performance on CtrlP , it doesn't work to ignore some folders

穿精又带淫゛_ 提交于 2019-12-29 18:51:32
问题 I tried to ignore the vendor by adding the following setting in .vimrc and I start my ctrlP by typing ff map ff :CtrlP<.><cr> However, it still tried to index all the files under the zeus folder including vendor folder. But after finishing index, I still can NOT search the files under vendor , Why does CtrlP take long time to index ? 129 "add ctrlp.vim setting 130 "" 131 set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*/vendor/*,*/\.git/* 132 let g:ctrlp_custom_ignore = 'tmp$\|\.git$\|\.hg$\|\.svn$\

How to run/call CtrlP first time in the background - VIM

前提是你 提交于 2019-12-02 10:25:13
问题 When calling CtrlP for the first time it cause quite a delay to build the cache. Is there a way to run it in the background so I can continue doing stuff in vim? 回答1: You cannot do that, in fact, vim isn't multi-threaded. You can look over for NeoVim which is multi-threaded. Alternativly, you could use the Unite plugin and the file_rec/async command : Note: with large projects this may cause some performance problems. Normally it is recommended to use |unite-source-file_rec/async| source,

How to run/call CtrlP first time in the background - VIM

房东的猫 提交于 2019-12-02 04:17:24
When calling CtrlP for the first time it cause quite a delay to build the cache. Is there a way to run it in the background so I can continue doing stuff in vim? nobe4 You cannot do that, in fact, vim isn't multi-threaded . You can look over for NeoVim which is multi-threaded. Alternativly, you could use the Unite plugin and the file_rec/async command : Note: with large projects this may cause some performance problems. Normally it is recommended to use |unite-source-file_rec/async| source, which requires |vimproc|. If you need to speed up indexing of CtrlP , you can use ag to grep files,

ctrlp still searches the ignored directory

二次信任 提交于 2019-11-27 03:11:15
问题 I tried to put ignored setting in .vimrc But when I used the ctrlp to search under rails app folder It still search the vendor folder, so it took lots of time. But when the search was done, I couldn't search anything under the vendor It was so strange! How to fix it. Here is my .vimrc setting file. http://d.pr/i/yMtK http://d.pr/i/Hy4u " Sane Ignore For ctrlp let g:ctrlp_custom_ignore = { \ 'dir': '\.git$|vendor\|\.hg$\|\.svn$\|\.yardoc\|public\/images\|public\/system\|data\|log\|tmp$', \