{"id":20560852,"url":"https://github.com/aben20807/vim-surrounder","last_synced_at":"2026-06-06T15:31:44.014Z","repository":{"id":107925759,"uuid":"119268092","full_name":"aben20807/vim-surrounder","owner":"aben20807","description":"A simple Vim plugin which to add surround symbols.","archived":false,"fork":false,"pushed_at":"2018-11-01T01:02:01.000Z","size":18,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-16T19:22:40.712Z","etag":null,"topics":["surround","vim","vim-plugin"],"latest_commit_sha":null,"homepage":"https://aben20807.blogspot.tw/2018/03/1070313-vim-surrounder.html","language":"Vim script","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/aben20807.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-28T14:59:02.000Z","updated_at":"2018-11-01T00:58:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"8869ca7f-5dda-40f4-9d12-ae0488d91e8a","html_url":"https://github.com/aben20807/vim-surrounder","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aben20807%2Fvim-surrounder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aben20807%2Fvim-surrounder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aben20807%2Fvim-surrounder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aben20807%2Fvim-surrounder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aben20807","download_url":"https://codeload.github.com/aben20807/vim-surrounder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242170880,"owners_count":20083550,"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":["surround","vim","vim-plugin"],"created_at":"2024-11-16T03:56:08.060Z","updated_at":"2025-03-06T07:47:51.305Z","avatar_url":"https://github.com/aben20807.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Surrounder\n\n## 1. Installation\n### 1.a. Installation with [Vim-Plug](https://github.com/junegunn/vim-plug)\n1. Add `Plug 'aben20807/vim-surrounder'` to your vimrc file.\n2. Reload your vimrc or restart.\n3. Run `:PlugInstall`\n\n### 1.b. Installation with [Vundle](https://github.com/VundleVim/Vundle.vim)\n1. Add `Plugin 'aben20807/vim-surrounder'` to your vimrc file.\n2. Reload your vimrc or restart\n3. Run `:PluginInstall`\n\n## 2. Usage\n### 2.a. Supported symbols\n+ '', \"\", (), [], {}, \u003c\u003e\n\n### 2.b. Demonstration\n+ Note: ` ` marked text is cursor position.\n\n|Before|key pressed|After|\n|:-:|:-:|:-:|\n|h`e`llo world   | `\u003cleader\u003es \"`   |  \"h`e`llo\" world|\n|h`e`llo world   | `2\u003cleader\u003es \"`  | \"h`e`llo world\"|\n\n+ Use auto detect\n\n|Before|key pressed|After|\n|:-:|:-:|:-:|\n|\"h`e`llo world\" | `\u003cleader\u003ed`     |  h`e`llo world|\n|\"h`e`llo world\" | `\u003cleader\u003ef (`   | (h`e`llo world)|\n\n+ Not use auto detect\n\n|Before|key pressed|After|\n|:-:|:-:|:-:|\n|\"h`e`llo world\" | `\u003cleader\u003ed \"`   |  h`e`llo world|\n|\"h`e`llo world\" | `\u003cleader\u003ef \"(`  | (h`e`llo world)|\n\n### 2.c. Settings\n```vim\n\" Feel free to change mapping you like.\n\" Use key mappings setting from this plugin by default.\nlet g:surrounder_use_default_mapping = 1\n\n\" Add surround in n mode\nlet g:surrounder_n_add_key = \"\u003cleader\u003es\"\n\n\" Add surround in v mode\nlet g:surrounder_v_add_key = \"\u003cleader\u003es\"\n\n\" Delete surround in n mode\nlet g:surrounder_n_del_key = \"\u003cleader\u003ed\"\n\n\" Replace surround in n mode\nlet g:surrounder_n_rep_key = \"\u003cleader\u003ef\"\n\n\" Show the surround information by default.\nlet g:surrounder_show_info = 1\n\n\" Auto detect if in surround symbols by default.\nlet g:surrounder_auto_detect = 1\n```\n\n![img](https://imgur.com/DR5QWxl.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faben20807%2Fvim-surrounder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faben20807%2Fvim-surrounder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faben20807%2Fvim-surrounder/lists"}