Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

fzf.fish

Integration of fzf with fish shell.

Installation

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.

  1. Install fzf by following its installation instruction.
  2. Copy content of conf.d and functions directories to your ~/.config/fish.

Usage

  • alt-x to change directory backward
  • ctrl-x + ctrl-k to display a list of processes to kill
  • ctrl-g + ctrl-b to display git branches
  • ctrl-g + ctrl-t to display git tags
  • ctrl-g + ctrl-l to display git hashes
  • ctrl-j + ctrl-l to 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.

License

UNLICENSE

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages