zsh-autopair

Auto-close and delete matching delimiters in zsh

brewmacoslinux
Try with needOr install directly
Source

About

Auto-close and delete matching delimiters in zsh

Commands

zsh-autopair

Examples

Install zsh-autopair plugin in your zsh configuration$ echo 'source $(brew --prefix)/share/zsh-autopair/autopair.zsh' >> ~/.zshrc
Type opening bracket and it auto-closes the matching one$ echo 'Type [ and it becomes [|]' # demonstrates auto-pairing
Delete matching pair when backspacing on closing delimiter$ echo 'In zsh: type (hello) then backspace at ) to remove both'