{"id":18111033,"url":"https://github.com/peterrincker/vim-searchlight","last_synced_at":"2025-09-07T21:45:51.742Z","repository":{"id":55119242,"uuid":"170944870","full_name":"PeterRincker/vim-searchlight","owner":"PeterRincker","description":"Highlights the current search match","archived":false,"fork":false,"pushed_at":"2024-08-03T16:07:23.000Z","size":324,"stargazers_count":53,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-20T10:45:36.986Z","etag":null,"topics":["highlighting","search","vim","vim-plugin"],"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/PeterRincker.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-16T00:14:24.000Z","updated_at":"2025-06-06T19:17:18.000Z","dependencies_parsed_at":"2024-08-03T17:27:05.226Z","dependency_job_id":"efacc071-85d0-4d3f-9ba4-c66c68578c58","html_url":"https://github.com/PeterRincker/vim-searchlight","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PeterRincker/vim-searchlight","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterRincker%2Fvim-searchlight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterRincker%2Fvim-searchlight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterRincker%2Fvim-searchlight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterRincker%2Fvim-searchlight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PeterRincker","download_url":"https://codeload.github.com/PeterRincker/vim-searchlight/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterRincker%2Fvim-searchlight/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274101783,"owners_count":25222446,"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-09-07T02:00:09.463Z","response_time":67,"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":["highlighting","search","vim","vim-plugin"],"created_at":"2024-11-01T00:12:49.762Z","updated_at":"2025-09-07T21:45:51.717Z","avatar_url":"https://github.com/PeterRincker.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vim-searchlight\n\nSearchlight = Search + Highlight\n\nVim-searchlight highlights Vim's current search match.\n\n![alt text](/example.gif)\n\n## CurSearch\n\nVim 8.2.4724+ supports `CurSearch`, as well as NeoVim 0.10+. In this case the `Searchlight` highlight group is linked to `CurSearch` and the rest of the plugin is disabled.\n\n## Requirements\n\nSearchlight requires `'hlsearch'` to be active and Vim 8+ with timer support. It is tested on Vim 8.1.\n\n\n## Experimental\n\nSearchlight is an experiment. Your mileage my vary. Might not work with other plugins or your `vimrc`.\n\n## Installation\n\nFollow your favorite plugin/runtimepath manager's instructions.\n\nIf you choose manual installation, use Vim's packages. Clone into one of the following directories:\n\n    $HOME/.vim/pack/bundle/start/        on Unix-like systems\n    $HOME\\vimfiles\\pack\\bundle\\start\\    on Windows\n\n## Commands\n\nUse `:Searchlight` to enable and `:Searchlight!` to disable.\n\n## Customization\n\nSearchlight uses the `Searchlight` highlight group. It defaults to `ErrorMsg`. Change by doing:\n\n    highlight link Searchlight Incsearch\n\nSearchlight's highlighting can be triggered manually via `:1Searchlight`. This might be required for some mappings or plugin compatibility.\n\nSearchlight is activated by default on startup. To prevent this set `g:searchlight_disable_on_startup`. e.g.\n\n    let g:searchlight_disable_on_startup = 1\n\n## Background\n\nThis is an experiment to implement current search highlighting without any mappings. Thank-you to both [vim-searchhi](https://github.com/qxxxb/vim-searchhi) \u0026 [vim-searchant](https://github.com/timakro/vim-searchant) which inspired this plugin.\n\n## Known Issues\n\nWhen using any search command like: `*`, `#`, etc at the beginning of a match and it is the only match and therefore will not cause the cursor to move, will not trigger searchlight.\n\nOne solution would be to trigger an update with mappings like so:\n\n    nnoremap \u003csilent\u003e * *:1Searchlight\u003ccr\u003e\n    nnoremap \u003csilent\u003e # #:1Searchlight\u003ccr\u003e\n\nHowever, this goes against the goal of having no mappings. Sad panda\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterrincker%2Fvim-searchlight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterrincker%2Fvim-searchlight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterrincker%2Fvim-searchlight/lists"}