{"id":24250686,"url":"https://github.com/deponian/nvim-scalpelua","last_synced_at":"2026-05-18T15:08:33.395Z","repository":{"id":164966297,"uuid":"640372735","full_name":"deponian/nvim-scalpelua","owner":"deponian","description":"Distant relative of Greg Hurrell's Scalpel","archived":false,"fork":false,"pushed_at":"2025-09-15T23:35:29.000Z","size":1029,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-16T01:18:46.404Z","etag":null,"topics":["minimap","neovim","neovim-plugin","replace-text","scalpel"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deponian.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2023-05-13T21:40:15.000Z","updated_at":"2025-09-15T23:35:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"a9465867-865c-4990-8f4c-cd7986338752","html_url":"https://github.com/deponian/nvim-scalpelua","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/deponian/nvim-scalpelua","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deponian%2Fnvim-scalpelua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deponian%2Fnvim-scalpelua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deponian%2Fnvim-scalpelua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deponian%2Fnvim-scalpelua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deponian","download_url":"https://codeload.github.com/deponian/nvim-scalpelua/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deponian%2Fnvim-scalpelua/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33181861,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["minimap","neovim","neovim-plugin","replace-text","scalpel"],"created_at":"2025-01-15T01:35:21.228Z","updated_at":"2026-05-18T15:08:33.389Z","avatar_url":"https://github.com/deponian.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Description\n\nThis plugin helps to replace all instances of selected sequence in the buffer in absolutely **literal** way. It doesn't use any of Vimscript search commands, so no [magic](https://neovim.io/doc/user/options.html#'magic'), no backslashes, no nothing. You replace exactly what you've selected.\n\n![screenshot](./screenshot.png)\n\n### Installation\n\nInstall via your preferred package manager:\n- `deponian/nvim-scalpelua`\n- `deponian/mini.map` for integration with mini.map (optional) (see below)\n\nYou can check current version in [changelog](./CHANGELOG.md) or on [releases page](https://github.com/deponian/nvim-scalpelua/releases).\n\nExamples for some package managers:\n\n#### vim-plug\n\n```vim\nPlug 'deponian/nvim-scalpelua'\nPlug 'deponian/mini.map' \" optional\n```\n\n#### lazy\n\nImporting file below or directory it is contained on lazy setup.\n\n```lua\nreturn {\n  \"deponian/nvim-scalpelua\",\n  version = \"*\",\n  dependencies = {\n    \"deponian/mini.map\",\n  },\n  config = function()\n    require(\"scalpelua\").setup()\n  end,\n}\n```\n\n### Usage\n\nMap `\u003cPlug\u003e(Scalpelua)` to replace selected sequence or `\u003cPlug\u003e(ScalpeluaMultiline)` to replace something inside selected sequence.\n\n```lua\nvim.keymap.set('v', \"\u003cleader\u003er\", \"\u003cPlug\u003e(Scalpelua)\")\nvim.keymap.set('v', \"\u003cleader\u003eR\", \"\u003cPlug\u003e(ScalpeluaMultiline)\")\nvim.keymap.set('n', \"\u003cleader\u003er\", \"\u003cPlug\u003e(Scalpelua)\")\n```\n\nor\n\n```vim\nvmap \u003cLeader\u003er \u003cPlug\u003e(Scalpelua)\nvmap \u003cLeader\u003eR \u003cPlug\u003e(ScalpelMultiline)\nnmap \u003cLeader\u003er \u003cPlug\u003e(Scalpelua)\n```\n\n### Configuration\n\nThese are default options. You can run empty `require('scalpelua').setup()` if these options suit you.\n\n```lua\nrequire(\"scalpelua\").setup({\n  -- enable/disable integration with mini.map plugin (see below)\n  minimap_enabled = false,\n\n  -- separator between pattern and replacement in command line\n  separator = \"»\",\n\n  -- names of highlighting groups\n  highlighting = {\n    regular_search_pattern = \"Search\",\n    current_search_pattern = \"WildMenu\",\n    minimap_integration = \"Constant\",\n  },\n\n  -- save pattern to \"/\" register (see :h quote/)\n  -- it's useful if you want to run n, N, * and\n  -- other search related commands after replacement\n  save_search_pattern = true\n\n  -- save pattern and replacement strings to use them\n  -- as defaults in the next :Scalpelua command\n  pattern_register = \"p\",\n  replacement_register = \"r\"\n})\n```\n\n### mini.map integration\n\nYou can enable integration with [mini.map plugin](https://github.com/echasnovski/mini.map) by setting `minimap_enabled = true` in your configuration. This way you will see all found instances of the pattern in your mini.map window and it will be updated every time you replace new pattern pressing `y` key.\n\n**Notice**: original mini.map plugin doesn't expose some internal functions that are necessary during the replacement process, so I've created highly complicated [fork](https://github.com/deponian/mini.map) with three (!) new lines of code. Use it if you want to enable mini.map integration with Scalpelua plugin.\n\n### Acknowledgements\n\nThanks to Greg Hurrell and his [Scalpel](https://github.com/wincent/scalpel) plugin that I've been using for the past few years.\n\nThanks to Evgeni Chasnovski and his great [mini.map](https://github.com/echasnovski/mini.map) plugin.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeponian%2Fnvim-scalpelua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeponian%2Fnvim-scalpelua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeponian%2Fnvim-scalpelua/lists"}