Re:Intermediate Vim tips
by ekianjo on Thursday December 21, 2017 @09:41PM
(#15984846)
I dont use fzf but CtrlP for vim is also very good at fuzzy search.
[ Parent
| on HN ]
Re:Intermediate Vim tips
by jackyinger on Thursday December 21, 2017 @11:04PM
(#15985188)
CtrlP enables my habit of having gazillions of buffers open when working on large projects. It’s great with splits.
Re:Intermediate Vim tips
by oddlydrawn on Friday December 22, 2017 @10:13AM
(#15987976)
CtrlP is nice but pretty slow. You can try ripgrep with CtrlP using:
if executable('rg')
let g:ctrlp_user_command = 'rg %s --files --color=never --glob ""'
let g:ctrlp_use_caching = 0
endifCtrlP is much slower when indexing large directories.
When you say large, how large is that?
I have a directory with about 40,000 java files. It takes 11 seconds for ctrlp to finish indexing (without using cache). Fzf finished it before I start counting.
CtrlP works great with Windows VIM!
i find unite.vim very useful