Skip to content

Instantly share code, notes, and snippets.

@OliverUv
Created October 24, 2013 20:49
Show Gist options
  • Save OliverUv/7144717 to your computer and use it in GitHub Desktop.
Save OliverUv/7144717 to your computer and use it in GitHub Desktop.
call unite#custom#source('file_rec,file_rec/async,file_mru,file,buffer,grep',
\ 'ignore_pattern', join([
\ '\.swp', '\.swo', '~$',
\ '\.git/', '\.svn/', '\.hg/',
\ '\.ropeproject/',
\ 'node_modules/', 'log/', 'tmp/',
\ '/vendor/gems/', '/vendor/cache/', '\.bundle/', '\.sass-cache/',
\ '/tmp/cache/assets/.*/sprockets/', '/tmp/cache/assets/.*/sass/',
\ '\.pyc$', '\.class$', '\.jar$',
\ '\.jpg$', '\.jpeg$', '\.bmp$', '\.png$', '\.gif$',
\ '\.o$', '\.out$', '\.obj$', '\.rbc$', '\.rbo$' '\.gem$',
\ '\.zip$', '\.tar\.gz$', '\.tar\.bz2$', '\.rar$', '\.tar\.xz$'
\ ], '\|'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment