fzf
Install:
winget install junegunn.fzf
Install Psfzf after fzf. Quick install instructions here.
Usage
Use arrow keys ↑ and ↓ to move cursor up and down.
Enter to select the item, Ctrl + C / Ctrl + G / Esc to exit
On multi-select mode (-m), TAB and Shift + TAB to mark multiple items
Mouse: scroll, click, double-click; shift-click and shift-scroll on multi-select mode
Press Ctrl + T to start PSFzf to select provider paths.
Press Ctrl + R to start PSFzf to select a command in the command history saved by PSReadline.
PSFzf will insert the command into the current line, but it will not execute the command.
Press Alt + C to start fzf in folder mode. Press Enter to cd into the selected directory.
A few scripts are here
More details here
Help File
fzf [options]
Search
-e, --exact- Enable exact-match+x, --no-extended- Disable extended-search mode-i, --ignore-case- Case-insensitive match+i, --no-ignore-case- Case-sensitive match--smart-case- Smart-case match (default)--scheme=SCHEME- Scoring scheme[default|path|history]-n, --nth=N[,..]- Limit search scope using field index expressions--with-nth=N[,..]- Transform line presentation using field index expressions-d, --delimiter=STR- Field delimiter regex (default: AWK-style)+s, --no-sort- Do not sort results--literal- Do not normalize Latin script letters--tail=NUM- Maximum number of items to keep in memory--disabled- Disable search--tiebreak=CRI[,..]- Sorting criteria when scores are tied[length|chunk|pathname|begin|end|index](default: length)
Input/Output
--read0- Read input delimited by ASCII NUL characters--print0- Print output delimited by ASCII NUL characters--ansi- Enable processing of ANSI color codes--sync- Synchronous search for multi-staged filtering
Global Style
--style=PRESET- Apply a style preset[default|minimal|full[:BORDER_STYLE]--color=COLSPEC- Set base color scheme[dark|light|16|bw]and custom colors--no-color- Disable colors--no-bold- Disable bold text
Display Mode
--height=[~]HEIGHT[%]- Set window height (fullscreen by default)--min-height=HEIGHT[+]- Minimum height when using percentages--tmux[=OPTS]- Startfzfin a tmux popup (requires tmux 3.3+)
Layout
--layout=LAYOUT- Choose layout[default|reverse|reverse-list]--margin=MARGIN- Set screen margin--padding=PADDING- Set padding inside the border--border[=STYLE]- Draw border[rounded|sharp|bold|block|thinblock|double|horizontal|vertical|top|bottom|left|right|none](default:rounded)--border-label=LABEL- Label for the border--border-label-pos=COL- Border label position
List Section
-m, --multi[=MAX]- Enable multi-select--highlight-line- Highlight the current line--cycle- Enable cyclic scroll--wrap- Enable line wrapping--gap[=N]- Render empty lines between items--scroll-off=LINES- Number of lines to keep above/below during scroll
Input Section
--no-input- Hide the input section--prompt=STR- Set input prompt (default: `> `)--info=STYLE- Set finder info style[default|right|hidden|inline[-right][:PREFIX]]
Preview Window
--preview=COMMAND- Command to preview highlighted line{}--preview-window=OPT- Preview window layout (default:right:50%)
Header
--header=STR- Print a header string--header-lines=N- Treat the firstNlines as a header--header-border[=STYLE]- Border around the header section
Scripting
-q, --query=STR- Start with the given query-1, --select-1- Auto-select the only match-0, --exit-0- Exit immediately if no match
Key/Event Binding
--bind=BINDINGS- Define custom key/event bindings
Advanced
--with-shell=STR- Specify shell command for child processes--listen[=[ADDR:]PORT]- Start HTTP server for actions
Directory Traversal
--walker=OPTS- Set traversal options[file][,dir][,follow][,hidden]--walker-root=DIR [...]- Set root directories (default:.)
History
--history=FILE- Specify history file--history-size=N- Max number of history entries (default:1000)
Shell Integration
--bash- Setup script for Bash integration--zsh- Setup script for Zsh integration--fish- Setup script for Fish integration
Help
--version- Display version information--help- Show help message--man- Show man page
Environment Variables
FZF_DEFAULT_COMMAND- Default command when input isttyFZF_DEFAULT_OPTS- Default options (e.g.'--layout=reverse --info=inline')FZF_DEFAULT_OPTS_FILE- File to read default options fromFZF_API_KEY- API key for HTTP server (--listen)