Skip to content
Oeiuwq Faith Blog OpenSource Porfolio

lilyball/fzf-git.fish

Fish shell plugin for fzf git bindings

lilyball/fzf-git.fish.json
{
"createdAt": "2019-07-18T03:14:31Z",
"defaultBranch": "master",
"description": "Fish shell plugin for fzf git bindings",
"fullName": "lilyball/fzf-git.fish",
"homepage": null,
"language": "Shell",
"name": "fzf-git.fish",
"pushedAt": "2021-12-13T22:51:48Z",
"stargazersCount": 10,
"topics": [
"fish-plugin",
"fish-shell",
"fisher",
"fzf",
"keybindings"
],
"updatedAt": "2025-09-28T13:13:38Z",
"url": "https://github.com/lilyball/fzf-git.fish"
}

[Fish shell][] plugin that adds key bindings for using [fzf][fzf] with git:

  • ctrl-g t: Shows an fzf picker for git tags.
  • ctrl-g b: Shows an fzf picker for local git branches.
  • ctrl-g r: Shows an fzf picker for remote git branches.
  • ctrl-g c: Shows an fzf picker for git commits, along with a preview of the selected commit. With this picker, ctrl-t toggles the preview pane.
  • ctrl-g s: Shows an fzf picker for git short status.

All bindings support picking multiple results and support ctrl-r to toggle sorting on/off. The token that the cursor is on when the binding is invoked will be used as the default fzf query and will be replaced by the selected value(s).

[Fish shell] !: http://fishshell.com [fzf] !: https://github.com/junegunn/fzf

fisher add lilyball/fzf-git.fish

Other plugin managers may be able to install this too, if they support a root key_bindings.fish file.