# jiangmiao/auto-pairs

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/jiangmiao-auto-pairs).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

4,201 stars · 365 forks · Vim script

## Links

- GitHub: https://github.com/jiangmiao/auto-pairs
- Homepage: http://www.vim.org/scripts/script.php?script_id=3599
- awesome-repositories: https://awesome-repositories.com/repository/jiangmiao-auto-pairs.md

## Description

auto-pairs is a Vim plugin that provides an extensible system for automatic bracket management and text manipulation. It automatically inserts and deletes matching brackets, parentheses, and quotes to increase editing efficiency.

The tool allows for the definition of custom single-character and multibyte opening and closing pairs, supporting complex delimiters such as comments or triple quotes.

It provides capabilities for wrapping blocks of text in pairs, navigating between corresponding characters, and formatting indented lines when pressing enter within a pair.

## Tags

### Development Tools & Productivity

- [Vim Plugins](https://awesome-repositories.com/f/development-tools-productivity/vim-plugins.md) — Provides a specialized plugin for the Vim editor to automate bracket and quote management.
- [Auto-closing Brackets](https://awesome-repositories.com/f/development-tools-productivity/auto-closing-brackets.md) — Acts as a customizable manager for automatically closing brackets, parentheses, and quotes.
- [Automatic Brace and Quote Insertions](https://awesome-repositories.com/f/development-tools-productivity/brace-placement-standardization/automatic-brace-and-quote-insertions.md) — Automatically inserts matching closing characters when the opening bracket or quote is typed. ([source](https://github.com/jiangmiao/auto-pairs/blob/master/README.md))
- [Simultaneous Pair Deletion](https://awesome-repositories.com/f/development-tools-productivity/simultaneous-pair-deletion.md) — Removes both opening and closing characters of a pair simultaneously when either one is deleted. ([source](https://github.com/jiangmiao/auto-pairs/blob/master/README.md))
- [Character Sequence Navigation](https://awesome-repositories.com/f/development-tools-productivity/character-sequence-navigation.md) — Enables quick cursor movement between corresponding opening and closing characters. ([source](https://github.com/jiangmiao/auto-pairs/blob/master/README.md))
- [Custom Auto-Pair Definitions](https://awesome-repositories.com/f/development-tools-productivity/custom-auto-pair-definitions.md) — Provides a mechanism to define or remove custom sets of matching characters to tailor auto-completion. ([source](https://github.com/jiangmiao/auto-pairs))
- [Auto-Indented Pair Lines](https://awesome-repositories.com/f/development-tools-productivity/indentation-adjustment/auto-indented-pair-lines.md) — Inserts a new indented line between a pair of brackets or quotes when the return key is pressed. ([source](https://github.com/jiangmiao/auto-pairs/blob/master/README.md))
- [Pattern-Based Indentation](https://awesome-repositories.com/f/development-tools-productivity/indentation-rules/pattern-based-indentation.md) — Injects newlines and indentation based on surrounding character patterns when pressing enter.
- [Multibyte Pair Matching](https://awesome-repositories.com/f/development-tools-productivity/search-match-highlighting/multi-character-sequence-filtering/multibyte-pair-matching.md) — Supports complex delimiters like triple quotes or comments by processing multi-character sequences.

### User Interface & Experience

- [Automatic Character Pairing](https://awesome-repositories.com/f/user-interface-experience/character-encoding-support/automatic-character-pairing.md) — Automatically inserts closing characters by listening for specific keystrokes in insert mode.
- [Delimiter Wrapping](https://awesome-repositories.com/f/user-interface-experience/text-input-formatting/markup-text-wrapping/delimiter-wrapping.md) — Wraps a block of text or a word in matching brackets or quotes using a keyboard shortcut. ([source](https://github.com/jiangmiao/auto-pairs/blob/master/README.md))

### Software Engineering & Architecture

- [Code Block Wrapping](https://awesome-repositories.com/f/software-engineering-architecture/string-formatting-utilities/content-format-transformers/text-block-formatting/code-block-wrapping.md) — Wraps selected text blocks in matching brackets or quotes and handles the accompanying indentation.
