Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Auto-complete matching pairs in the Fish command line

License

NotificationsYou must be signed in to change notification settings

jorgebucaran/autopair.fish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto-complete matching pairs in theFish 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"
  • Gracefully handleTab completions for variables while inside double quotes.

    $echo"$fish_color_"

    Tab 🥊

    $echo"$fish_color_"$fish_color_autosuggestion   (Variable: '555' 'brblack')"$fish_color_cancel           (Variable: -r)"$fish_color_command          (Variable: blue)"$fish_color_comment          (Variable: red)...

Installation

Install withFisher:

fisher install jorgebucaran/autopair.fish

License

MIT

About

Auto-complete matching pairs in the Fish command line

Topics

Resources

License

Stars

Watchers

Forks

Contributors3

  •  
  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp