autopair.fish

Auto-complete matching pairs in the Fish command line.

Automatically insert, erase, and skip matching pairs as you type in the command-line: (), [], {}, "", and ''. E.g., pressing ( inserts () and positions the cursor in between the parentheses. Hopefully.

  • Insert matching pairs.

    $ echo ⎒ # Let's say βŽͺ is the cursor!

    " πŸ₯Š

    $ echo "βŽͺ"
  • Erase pairs on backspace:

    $ echo "HeyβŽͺ"

    Backspace πŸ₯ŠπŸ₯ŠπŸ₯Š

    $ echo "βŽͺ"

    Backspace πŸ₯Š

    $ echo βŽͺ
  • Skip over matched pairs:

    $ echo "HeyβŽͺ"

    " πŸ₯Š

    $ echo "Hey"βŽͺ

Installation

Install with Fisher:

fisher install jorgebucaran/autopair.fish

License

MIT

Autopair.fish

Auto-complete matching pairs in the Fish command line.

Autopair.fish Info

⭐ Stars 113
πŸ”— Source Code github.com
πŸ•’ Last Update 8 months ago
πŸ•’ Created 4 years ago
🐞 Open Issues 0
βž— Star-Issue Ratio Infinity
😎 Author jorgebucaran