Integration of fzf with fish shell.
Requires fish 4 or later.
Git is needed for the Git selectors, Jujutsu (jj) for the revision selector,
and tree for the directory preview. The directory and process selectors also
use standard command-line utilities: awk, head, id, and ps.
- Install fzf by following its installation instruction.
- Copy content of
conf.dandfunctionsdirectories to your~/.config/fish.
alt-xto change directory backwardctrl-x + ctrl-kto display a list of processes to killctrl-g + ctrl-bto display git branchesctrl-g + ctrl-tto display git tagsctrl-g + ctrl-lto display git hashesctrl-j + ctrl-lto display jujutsu revisions
Press Enter to accept a selection or Esc to cancel. In the Git, Jujutsu,
and process selectors, use Tab or Shift-Tab to select multiple entries.
Git and Jujutsu selections replace the current command-line token.
Inside the branch and commit selectors, alt-a includes all branches and
alt-s restores local branches or the current branch's commits, respectively.
Inside the process selector, ctrl-r refreshes the list. Enter sends SIGTERM
to the selected processes so they can clean up before exiting. If they do not
exit, reopen the selector and press ctrl-k to send SIGKILL, which terminates
them immediately without cleanup and may lose unsaved work.