fish + peco で git の色んなものを楽に選択する
gitのブランチやファイル、コミットのハッシュ、タグをpecoで楽に選択できるプラグインを作ってみました
github: peco_select_git_misc
インストール
fisher tamanugi/peco_select_git_misc
使い方
細かい関数に分かれているので、それぞれ適当なキーバインドに割り当てて使用してください
config.fish
function fish_user_key_bindings
bind \cx\cb peco_select_git_branch
bind \cx\cf peco_select_git_file
bind \cx\cs peco_select_git_file_with_status
bind \cx\ct peco_select_git_tag
bind \cx\ch peco_select_git_hash
end
各関数の実行結果は既存のコマンドバッファに追加するようになっています
Author And Source
この問題について(fish + peco で git の色んなものを楽に選択する), 我々は、より多くの情報をここで見つけました https://qiita.com/tamanugi/items/43bad0158f4a4bb7d1d2著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .