ratmav / desk

sugar layer for vim buffer, window, tab, and file management.
MIT License
1 stars 0 forks source link

search #2

Open ratmav opened 3 years ago

ratmav commented 3 years ago

see if you can add ctrlp as a dependency for now, then use that with the following config (put this in the desk init?):

"  ignore tmp, swap, zip archives, and executables on macos, linux, and
"  windows
set wildignore+=*/tmp/*,*.so,*.swp,*.zip
set wildignore+=*\\tmp\\*,*.swp,*.zip,*.exe
"  ignore git metadata and (go, node.js) dependencies
let g:ctrlp_custom_ignore = {
  \ 'dir':  '\v[\/]\.(git)|(vendor|node_modules)$',
  \ }

also, this snippet from the dotfiles looks like it worked, at least at some point:

let g:ctrlp_custom_ignore = '\v\.git|node_modules'

then...see about removing the go search engine from your fork of vim-ctrlspace.

ratmav commented 3 years ago

taking this out:

was thinking use ctrlp for this, but right now i'm feeling rust and ripgrep. there's a pretty good blog post on how to do this: https://sidneyliebrand.medium.com/how-fzf-and-ripgrep-improved-my-workflow-61c7ca212861.

i think what i'll try is setting up fzf with ripgrep, then pull what i need from fzf into desk.