{"id":16905774,"url":"https://github.com/octref/rootignore","last_synced_at":"2025-07-30T05:34:54.731Z","repository":{"id":22752745,"uuid":"26098217","full_name":"octref/RootIgnore","owner":"octref","description":"Set wildignore from git repo root","archived":false,"fork":false,"pushed_at":"2018-06-05T02:56:51.000Z","size":9,"stargazers_count":38,"open_issues_count":3,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-06T08:42:13.006Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/octref.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-03T00:51:38.000Z","updated_at":"2025-03-29T00:14:48.000Z","dependencies_parsed_at":"2022-07-27T03:32:10.002Z","dependency_job_id":null,"html_url":"https://github.com/octref/RootIgnore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/octref/RootIgnore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octref%2FRootIgnore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octref%2FRootIgnore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octref%2FRootIgnore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octref%2FRootIgnore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/octref","download_url":"https://codeload.github.com/octref/RootIgnore/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octref%2FRootIgnore/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267815191,"owners_count":24148356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T18:39:35.800Z","updated_at":"2025-07-30T05:34:54.696Z","avatar_url":"https://github.com/octref.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RootIgnore\n\n**Set 'wildignore' from git repo root or home folder**\n\n## Usage\nThis plugin is designed to complement CtrlP \u0026 Command-T by automatically\nfiltering search results according to `.gitignore` in your project, and\nthe global `~/.gitignore`.\n\nThere is a [script](http://www.vim.org/scripts/script.php?script_id=2557) by\nAdam Bellaire, but it doesn't respect `.gitignore` when you are in a subfolder\nof your project.\n\n## Install\n#### Vundle\n\n```Vim\nplugin 'octref/RootIgnore'\n```\n\n## Option\n```\nlet g:RootIgnoreUseHome = 1\n(Default: 1)\n```\nAdd patterns in ~/.gitignore to wildignore.\n\n```\nlet g:RootIgnoreAgignore = 1\n(Default: 0)\n```\n**Requirement**: [**ag**](https://github.com/ggreer/the_silver_searcher)\nLet RootIgnore set `ctrlp's g:ctrlp_user_command` to use **ag** for\nfaster search.\n\n===\n\n### Setting\n\n#### CtrlP\n```Vim\n\" As long as it doesn't contain 'r' it's fine\nlet g:ctrlp_working_path_mode = '0'\n```\n\n#### Command-T\n```Vim\nlet g:CommandTTraverseSCM = 'pwd'\n\" If you want to add your own ignore pattern\nlet g:CommandTWildIgnore = \u0026wildignore . ',myPattern\"\n```\n\n## Update\n\n- **01-16-2018**\n  - Add regex whitespace ignore so whitespace lines in .gitignore aren't added to wildignore.\n- **08-07-2015**\n  - Fix a bug for using .gitignore in non-git folder.\n- **07-27-2015**\n  - If we are not in a git folder, but have a .gitignore in current folder, use its patterns.\n- **03-01-2015**\n  - Include ~/.gitignore by default\n- **02-04-2015**\n  - Resolve folder-paths in .gitignore to paths relative to cwd\n\n## Credit\nAdapted from [gitignore](http://www.vim.org/scripts/script.php?script_id=2557)\nby Adam Bellaire\n\n## License\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctref%2Frootignore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foctref%2Frootignore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctref%2Frootignore/lists"}