pechorin / any-jump.vim

Jump to any definition and references 👁 IDE madness without overhead 🚀
1.08k stars 40 forks source link

Ignore files not in git #22

Closed tjwallace closed 4 years ago

tjwallace commented 4 years ago

Is it possible to skip/ignore files that aren't tracked by git? I have some database/JSON dumps inside my project directory that make searching very slow.

pechorin commented 4 years ago

Will added this very soon.

pechorin commented 4 years ago

I think it fixed in https://github.com/pechorin/any-jump.vim/commit/59168eb78c6d48c62f0596416fdfe3e7e80f9e4f.

Please try to add to your vimrc:

call g:AnyJumpAddIgnoredFile('*.tmp')
call g:AnyJumpAddIgnoredFile('*.temp')
call g:AnyJumpAddIgnoredFile('tags')
pechorin commented 4 years ago

@tjwallace please notice what latest version of https://github.com/pechorin/any-jump.vim/commit/5a564e14eefa6e60c5dd304a52010a3391ffaa43 contains breaking changes, where is no more g:AnyJumpAddIgnoredFile only g:any_jump_ignored_files.