Auto-complete matching pairs (parentheses, brackets, quotes) in the Fish shell command line.
autopair.fish is a plugin for the Fish shell that automatically manages matching character pairs like parentheses, brackets, and quotes during command-line typing. It inserts pairs, deletes them together on backspace, and skips over already-closed pairs to streamline editing.
Fish shell users who frequently type commands involving nested syntax, scripts, or quoted strings and want to reduce manual pairing errors.
It eliminates the need to manually close pairs or fix mismatched characters, integrating directly into Fish's interactive workflow without disrupting tab completions or other shell features.
Auto-complete matching pairs in the Fish command line
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Typing an opening character like '(' inserts '()' with the cursor positioned between them, as shown in the README example, reducing manual keystrokes.
Pressing backspace deletes both characters of a pair, and typing a closing character skips over if already present, demonstrated in the README to minimize errors.
Works seamlessly with Fish's tab completion, even inside double quotes for variable expansion, as illustrated in the README with autosuggestion examples.
Can be installed quickly via Fisher with a single command ('fisher install jorgebucaran/autopair.fish'), requiring no complex setup.
Only supports fixed pairs like parentheses, brackets, braces, and quotes; users cannot add custom pairs such as backticks or angle brackets, which might be needed for advanced scripting.
Entirely dependent on Fish shell, so it is useless for users of other popular shells like Bash or Zsh, limiting its broader utility.
The README does not mention any way to customize behaviors or disable specific pairs, making it too rigid for users who need fine-grained control over pair management.