{"id":13825582,"url":"https://github.com/syngan/vim-operator-furround","last_synced_at":"2025-07-08T22:31:36.659Z","repository":{"id":14486161,"uuid":"17198785","full_name":"syngan/vim-operator-furround","owner":"syngan","description":"an extension of surround.vim","archived":false,"fork":false,"pushed_at":"2016-02-24T23:01:13.000Z","size":128,"stargazers_count":5,"open_issues_count":4,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-04T09:03:58.320Z","etag":null,"topics":["operator","plugin","surround","vim","vim-operator"],"latest_commit_sha":null,"homepage":"","language":"VimL","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/syngan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-26T04:30:27.000Z","updated_at":"2021-05-26T19:02:42.000Z","dependencies_parsed_at":"2022-08-31T16:44:54.308Z","dependency_job_id":null,"html_url":"https://github.com/syngan/vim-operator-furround","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syngan%2Fvim-operator-furround","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syngan%2Fvim-operator-furround/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syngan%2Fvim-operator-furround/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syngan%2Fvim-operator-furround/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/syngan","download_url":"https://codeload.github.com/syngan/vim-operator-furround/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225470631,"owners_count":17479366,"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","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":["operator","plugin","surround","vim","vim-operator"],"created_at":"2024-08-04T09:01:23.727Z","updated_at":"2024-11-20T04:30:35.449Z","avatar_url":"https://github.com/syngan.png","language":"VimL","funding_links":[],"categories":["Vim Script"],"sub_categories":[],"readme":"vim-operator-furround\n=====================\n\n[![Build Status](https://travis-ci.org/syngan/vim-operator-furround.svg?branch=master)](https://travis-ci.org/syngan/vim-operator-furround)\n\nThis plugin is a Vim operator to surround a text by register content.\n\nRequired:\n- [kana/vim-operator-user](https://github.com/kana/vim-operator-user)\n\nRecommended:\n- [tpope/vim-repeat](https://github.com/tpope/vim-repeat)\n\nRelated:\n- [rhysd/vim-operator-surround](https://github.com/rhysd/vim-operator-surround)\n- [tpope/vim-surround](https://github.com/tpope/vim-surround)\n\nMappings:\n- `\u003cPlug\u003e(operator-furround-append-input)`\t(use input always)\n- `\u003cPlug\u003e(operator-furround-append-reg)`\t(depend on `use_input` option)\n- `\u003cPlug\u003e(operator-furround-delete)`\n- `\u003cPlug\u003e(operator-furround-replace-input)`\n- `\u003cPlug\u003e(operator-furround-replace-reg)`\n\n# Install\n\n## NeoBundle\n\n```vim\nNeoBundleLazy 'syngan/vim-operator-furround', {\n\\   'depends' : [ 'kana/vim-operator-user'],\n\\   'autoload' : {\n\\\t'mappings' : ['\u003cPlug\u003e(operator-furround-']}\n\\}\n```\n\n## `\u003cPlug\u003e(opeartor-furround-append-input)`\n\n- `map sa \u003cPlug\u003e(opeartor-furround-append-input)`\n- original text is `tako`\n- type `saiw` and input xxx\n   - note: `iw` is an `inner word`. see `:h iw`\n\n|   input      |   result                 |   note       |\n|:------------:|:------------------------:|:-------------|\n| `(`          |   `(tako)`               |              |\n| `[`          |   `[tako]`               |              |\n| `\"`          |   `\"tako\"`               |              |\n| `hoge`       | `hoge(tako)`             | default      |\n| `hoge(`      | `hoge(tako)`             |              |\n| `hoge\u003c`      | `hoge\u003ctako\u003e`             |              |\n| `hoge[\"`     | `hoge[\"tako\"]`           |              |\n| `hoge()[\"`   | `hoge()[\"tako\"]`         |              |\n| `hoge(3, `   | `hoge(3, tako)`          |              |\n| `hoge(3, \"`  | `hoge(3, \"tako\")`        |              |\n| `{\\bf `      | `{\\bf tako}`             | LaTeX        |\n| `\\begin{ho}` | `\\begin{ho}tako\\end{ho}` | filetype=tex |\n\n- default block: `[]`, `()`, `{}`, `\u003c\u003e`, `\"\"`, `''`\n\n## `\u003cPlug\u003e(opeartor-furround-delete)`\n\n- `map D \u003cPlug\u003e(opeartor-furround-delete)`\n\n| text                 | type     | result         | note       |\n|:---------------------|:---------|:---------------|:-----------|\n| `hoge(tako)`         | `Df)`    | `tako`         |            |\n| `hoge[tako]`         | `Df]`    | `tako`         |            |\n| `tako(hoge[tako])`   | `Df)`    | `hoge[tako]`   |            |\n| `{\\bf foo}`          | `Da}`    | `foo`          | ft=tex     |\n\n## vim-textobj-postexpr\n\n- syngan/vim-textobj-postexpr\n    - https://github.com/syngan/vim-textobj-postexpr\n\n- `omap iv \u003cPlug\u003e(textobj-postexpr-i)`\n- text is `hoge(tako(foo))` and do `Div` then `tako(foo)`\n\n\n# Blog in Japanese\n\n- [hoge() で囲みたい症候群](http://d.hatena.ne.jp/syngan/20140301/1393676442)\n- [vim-operator-furround で LaTeX/XML 編集](http://d.hatena.ne.jp/syngan/20140304/1393876531)\n- [vim-operator-furround の挙動を少し変えた](http://d.hatena.ne.jp/syngan/20140316/1394920671)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyngan%2Fvim-operator-furround","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyngan%2Fvim-operator-furround","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyngan%2Fvim-operator-furround/lists"}