pechorin / any-jump.vim

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

Add disable vcs ignore untracked files support #35

Closed markwu closed 4 years ago

markwu commented 4 years ago

Sometimes, I need to search all project direcories but they already added to vcs ignore file (for example, .gitignore) by framework cli.

Therefore, I need a way to search definitions and references in those directories or files that ignored by vcs. For example, ./vendor/* folder in laravel/symfony framework.

rg/ag will repect vcs ignore by default, so I need a way to disable it.

PS. I am not sure this is a proper PR for you or not, maybe you have different thought or idea about this, you can just ignore/reject this PR, if you think this is not a good idea.

pechorin commented 4 years ago

I like the idea and implementation, thanks.

The next level is add ability to toggle vcs ignoring in opened ui with hotkey (results reindexing/re-rendering will required).

I will add doc and merge this to master.