Skip to content

Instantly share code, notes, and snippets.

@ninovsnino
Last active May 29, 2016 03:36
Show Gist options
  • Save ninovsnino/f55aadeb8c2e481d6bbf5d9a42152c71 to your computer and use it in GitHub Desktop.
Save ninovsnino/f55aadeb8c2e481d6bbf5d9a42152c71 to your computer and use it in GitHub Desktop.
vim load matchit and exclude directory in fuzzyfinder
" Load matchit.vim, but only if the user hasn't installed a newer version.
if !exists('g:loaded_matchit') && findfile('plugin/matchit.vim', &rtp) ==# ''
runtime! macros/matchit.vim
endif
let g:fuf_file_exclude = '\v\~$'
\ . '|\.(o|png|PNG|JPG|class|CLASS|jpg|exe|dll|bak|swp|pyc|pyo)$'
\ . '|(^|[/\\])\.(hg|git|bzr)($|[/\\])'
\ . '|(^|[/\\])venv[/\\]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment