{"id":32448183,"url":"https://github.com/tranvansang/vim-close-pair","last_synced_at":"2026-02-26T23:01:39.815Z","repository":{"id":35130703,"uuid":"39335623","full_name":"tranvansang/vim-close-pair","owner":"tranvansang","description":"A Vim plugin to find last opening brace and insert corresponding closing brace","archived":false,"fork":false,"pushed_at":"2016-10-08T01:34:29.000Z","size":3,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-02T04:25:54.520Z","etag":null,"topics":["braces","vim","vim-plugins"],"latest_commit_sha":null,"homepage":null,"language":"VimL","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/tranvansang.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}},"created_at":"2015-07-19T14:00:58.000Z","updated_at":"2022-02-04T17:04:17.000Z","dependencies_parsed_at":"2022-09-03T18:12:08.498Z","dependency_job_id":null,"html_url":"https://github.com/tranvansang/vim-close-pair","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/tranvansang/vim-close-pair","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tranvansang%2Fvim-close-pair","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tranvansang%2Fvim-close-pair/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tranvansang%2Fvim-close-pair/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tranvansang%2Fvim-close-pair/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tranvansang","download_url":"https://codeload.github.com/tranvansang/vim-close-pair/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tranvansang%2Fvim-close-pair/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29876340,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T22:37:10.609Z","status":"ssl_error","status_checked_at":"2026-02-26T22:37:09.019Z","response_time":89,"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":["braces","vim","vim-plugins"],"created_at":"2025-10-26T05:31:19.632Z","updated_at":"2026-02-26T23:01:39.808Z","avatar_url":"https://github.com/tranvansang.png","language":"VimL","funding_links":[],"categories":[],"sub_categories":[],"readme":"Vim Close Pair\n==============\nA Vim plugin to find last opening brace and insert corresponding closing brace\n\nInstall\n-------\n*\tWith [Vundle](https://github.com/VundleVim/Vundle.vi://github.com/VundleVim/Vundle.vim)\n\n\t- Append `Plugin ‘tranvansang/vim-close-pair’` to your `.vimrc`\n\t- Restart vim or run `:source ~/.vimrc`\n\t- Run `:PluginInstall`\n\n*\tManual\n\n\t\tgit checkout https://github.com/tranvansang/vim-close-pair.git\n\t\tcd vim-close-pair\n\t\tmkdir -p ~/.vim/plugin\n\t\tcp -f plugin/close-pair.vim ~/.vim/plugin/\n\t\tmkdir -p ~/.vim/autoload\n\t\tcp -f autoload/close-pair.vim ~/.vim/autoload/\n\nUsage\n-----\nIn insert mode, type `Ctrl-L`\n\n- Text   : `({[ [foo] bar (foo) bar`\n- Result : `({[ [foo] bar (foo) bar]`\n\nOptions\n-------\nSet values here are the default\n\n*\tBinding key. Becareful when set this option, because it is bound it insert mode and may caught trouble when typing.\n\n\tSet empty(`’’`) to disable this plugin\n\n\t```\n\tlet g:close_pair_key = ‘\u003cC-L\u003e’\n\t```\n\n*\tMaximal number of lines to scan for opening braces.\n\n\tSet `0` to disable this plugin, `-1` for unlimit (scan until first line)\n\n\tThis option is combined with `g:close_pair_characters_limit`.\n\t\n\tScanning will stop when any of both limits reached.\n\n\t```\n\tlet g:close_pair_lines_limit = -1\n\t```\n\n*\tMaximal number of characters to scan.\n\n\tSet `0` to disable this plugin, `-1` for unlimit (scan until first character in buffer)\n\n\tThis option is combined with `g:close_pair_lines_limit`.\n\t\n\tScanning will stop when any of both limits reached.\n\n\t```\n\tlet g:close_pair_characters_limit = -1\n\t```\n\n*\tJust move cursor right if the closing brace is already inserted\n\n\t```\n\tlet g:close_pair_ignore_if_matched = 1\n\t```\n\n\tExample:\n\n\t- Text  : `(|)` (`|`: cursor position)\n\t- Result :\n\t\t- When this option is enabled: `()|`\n\t\t- When this options is disabled: `()|)`\n\t\nNOTE\n----\n*\tThis plugin parses only pairs in `matchpairs` option.\n\n*\tFor HTML tag, you should use system completion (`\u003cC-x\u003e\u003cC-o\u003e`) for better effect.\n\n\tExample:\n\n\t- Text   : `\u003cheader\u003efoo\u003c/|` (`|`   : cursor position)\n\t- Type   : `\u003cC-x\u003e\u003cC-o\u003e`\n\t- Result : `\u003cheader\u003efoo\u003c/header\u003e|`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftranvansang%2Fvim-close-pair","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftranvansang%2Fvim-close-pair","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftranvansang%2Fvim-close-pair/lists"}