{"id":13479664,"url":"https://github.com/inside/vim-search-pulse","last_synced_at":"2026-01-31T23:40:53.137Z","repository":{"id":2615803,"uuid":"13564876","full_name":"inside/vim-search-pulse","owner":"inside","description":"Easily locate the cursor after a search","archived":false,"fork":false,"pushed_at":"2024-06-07T07:51:35.000Z","size":44,"stargazers_count":131,"open_issues_count":9,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-14T08:38:49.570Z","etag":null,"topics":["vim-plugins","viml"],"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/inside.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":"2013-10-14T15:19:08.000Z","updated_at":"2025-05-04T15:22:48.000Z","dependencies_parsed_at":"2024-12-06T12:51:01.250Z","dependency_job_id":null,"html_url":"https://github.com/inside/vim-search-pulse","commit_stats":{"total_commits":63,"total_committers":8,"mean_commits":7.875,"dds":0.4126984126984127,"last_synced_commit":"3ae2681332c52ed54c443e09d2ef09ae05eaa445"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/inside/vim-search-pulse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inside%2Fvim-search-pulse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inside%2Fvim-search-pulse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inside%2Fvim-search-pulse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inside%2Fvim-search-pulse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inside","download_url":"https://codeload.github.com/inside/vim-search-pulse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inside%2Fvim-search-pulse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28960611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T23:03:11.038Z","status":"ssl_error","status_checked_at":"2026-01-31T22:56:44.691Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["vim-plugins","viml"],"created_at":"2024-07-31T16:02:21.031Z","updated_at":"2026-01-31T23:40:53.115Z","avatar_url":"https://github.com/inside.png","language":"Vim Script","readme":"# The vim search pulse plugin: easily locate the cursor after a search\n\n## Description\n\nWhen you perform a search, the cursor jumps to the closest match. It's often\nhard to locate it's new position. With this plugin the cursor line (by default)\nor the search pattern will \"pulse\" thus requiring your eyes attention.\n\nFor the cursor line to be set only in the active window you may want to install\nthis plugin: https://github.com/vim-scripts/CursorLineCurrentWindow\n\nActivate the cursor line highlighing by putting `set cursorline` in your .vimrc\nfile.\n\n### Cursor line pulse animation:\n![cursor line pulse](http://i.imgur.com/ukZuti2.gif)\n\n### Pattern pulse animation:\n![pattern pulse](http://i.imgur.com/jFyjW3f.gif)\n\n## Installation\n\nUse pathogen or a pathogen compatible plugin manager.\n\n## Configuration\n\nSets whether the cursor line pulses (default is cursor_line):\n\n    let g:vim_search_pulse_mode = 'cursor_line'\n\nor just the search pattern:\n\n    let g:vim_search_pulse_mode = 'pattern'\n\nIf you want to set your own mappings, do:\n\n    let g:vim_search_pulse_disable_auto_mappings = 1\n\nOtherwise the plugin will do the following for you:\n\n    nmap n n\u003cPlug\u003ePulse\n    nmap N N\u003cPlug\u003ePulse\n    nmap * *\u003cPlug\u003ePulse\n    nmap # #\u003cPlug\u003ePulse\n    \" Pulses cursor line on first match\n    \" when doing search with / or ?\n    cmap \u003csilent\u003e \u003cexpr\u003e \u003center\u003e search_pulse#PulseFirst()\n\nThe pulse duration is 200 milliseconds by default. You can set your own using\nthe following global variable. For example:\n\n    let g:vim_search_pulse_duration = 400\n\nThe colors used by the pulse are `[237, 238, 239, 240, 241]` (gray scale) by\ndefault. A color map can be found at:\nhttp://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html\n\nYou can set your own and as many as you want using the following global\nvariable. For example (green scale):\n\n    let g:vim_search_pulse_color_list = [22, 28, 34, 40, 46]\n\nIf you are using gvim, these are the default colors:\n\n    `['#3a3a3a', '#444444', '#4e4e4e', '#585858', '#606060']`\n\nTo disable/enable set the value of `g:vim_search_pulse_disable` to 0 or 1\n\nTo execute arbitrary commands before and after pulse runs, use these autocmds:\n\n    autocmd User PrePulse\n    autocmd User PostPulse\n\nFor example, to turn on `cursorcolumn` during the pulse and then off right after:\n\n    augroup Pulse\n        autocmd! User PrePulse\n        autocmd! User PostPulse\n        autocmd  User PrePulse  set cursorcolumn\n        autocmd  User PostPulse set nocursorcolumn\n    augroup END\n\nThis functionality requires Vim 7.3.438 or newer.\n\n## Integration with the incsearch.vim plugin\n\n[incsearch.vim](https://github.com/haya14busa/incsearch.vim) provides a very\nnice improved incremental searching. With a little configuration, it can\nwork with the vim search pulse:\n\n    \" incsearch and vim search pulse\n    let g:vim_search_pulse_disable_auto_mappings = 1\n    let g:incsearch#auto_nohlsearch = 1\n    map / \u003cPlug\u003e(incsearch-forward)\n    map ? \u003cPlug\u003e(incsearch-backward)\n    map g/ \u003cPlug\u003e(incsearch-stay)\n\n    \" Next or previous match is followed by a Pulse\n    map n \u003cPlug\u003e(incsearch-nohl-n)\u003cPlug\u003ePulse\n    map N \u003cPlug\u003e(incsearch-nohl-N)\u003cPlug\u003ePulse\n    map * \u003cPlug\u003e(incsearch-nohl-*)\u003cPlug\u003ePulse\n    map # \u003cPlug\u003e(incsearch-nohl-#)\u003cPlug\u003ePulse\n    map g* \u003cPlug\u003e(incsearch-nohl-g*)\u003cPlug\u003ePulse\n    map g# \u003cPlug\u003e(incsearch-nohl-g#)\u003cPlug\u003ePulse\n\n    \" Pulses the first match after hitting the enter keyan\n    autocmd! User IncSearchExecute\n    autocmd User IncSearchExecute :call search_pulse#Pulse()\n\n## Integration with the vim-asterisk plugin\n\n[vim-asterisk](https://github.com/haya14busa/vim-asterisk) provides improved\nstar motions. Here's the configuration:\n\n    let g:vim_search_pulse_disable_auto_mappings = 1\n\n    nmap * \u003cPlug\u003e(asterisk-*)\u003cPlug\u003ePulse\n    nmap # \u003cPlug\u003e(asterisk-#)\u003cPlug\u003ePulse\n    nmap n n\u003cPlug\u003ePulse\n    nmap N N\u003cPlug\u003ePulse\n    \" Pulses cursor line on first match\n    \" when doing search with / or ?\n    cmap \u003csilent\u003e \u003cexpr\u003e \u003center\u003e search_pulse#PulseFirst()\n\n## Known bugs\n\n### MacVim\n\n* A redraw bug appears on MacVim when using this plugin, the\n  [vim-bling](https://github.com/ivyl/vim-bling) or any plugin using a redraw\n  loop. It's not plugin, but MacVim related.\n\n  There's a [video describing the bug](https://www.youtube.com/watch?v=miz_Ut8T4jk)\n  and a [discussion about it](https://groups.google.com/forum/#!topic/vim_mac/z-IBAFHbQak).\n\n## Credits\n\nThis plugin is inspired by:\n\n* https://github.com/LStinson/Vim/blob/master/plugin/pulse.vim\n* https://github.com/ivyl/vim-bling from which I borrowed some ideas\n* http://redd.it/1o7t2a\n\nThe animated gif was created using http://www.cockos.com/licecap/\n\nThanks to everyone who participated in making this plugin better.\n","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finside%2Fvim-search-pulse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finside%2Fvim-search-pulse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finside%2Fvim-search-pulse/lists"}