-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I've been wondering how to quickly search in multiple directories like sublimetext.
Seems that CtrlP doesn't support that
ctrlpvim/ctrlp.vim#436
NerdTree doesn't do it
preservim/nerdtree#215
My workflow always involves jumping from one directory to another.
Do you know a way of ?
- Provide a folder list
- Search with RipGrep in every directory
- Merge those results
- Give the list back to CtrlP
This Setting let me to it with one directory, but I wonder if there's a way of accomplish the same thing merging results in all open directories:
Plug 'kien/ctrlp.vim'
let g:ctrlp_show_hidden = 1
" https://github.com/BurntSushi/ripgrep
if executable('rg')
let g:ctrlp_user_command = 'rg --files %s'
let g:ctrlp_use_caching = 1
let g:ctrlp_working_path_mode = 'ra'
let g:ctrlp_switch_buffer = 'et'
endif
Metadata
Metadata
Assignees
Labels
No labels