summaryrefslogtreecommitdiffstats
path: root/man/man1/fzf.1
AgeCommit message (Collapse)Author
2024-05-15docs: update zsh integration instructions (#3794)LangLangBart
2024-05-140.52.10.52.1Junegunn Choi
2024-05-09chore: Update flags to include long-form options for case (#3785)LangLangBart
2024-05-080.52.00.52.0Junegunn Choi
2024-05-07Add color names: selected-{fg,bg,hl}Junegunn Choi
2024-05-07Rename --cursor-line to --highlight-lineJunegunn Choi
2024-05-07Add --cursor-line to highlight the whole current lineJunegunn Choi
Similar to 'set cursorline' of Vim.
2024-05-07Add current-{fg,bg,hl} as synonyms for {fg,bg,hl}+Junegunn Choi
2024-05-06Do not enable delayed expansion mode when running cmd.exeJunegunn Choi
And simplify the argument escaping code. Fix #3764. This may breaks some existing use cases, but the mode causes too much trouble when escaping arguments and it makes some things not possible. # Now you can pass special characters to rg process without any escaping problems: &|<>()@^%! fzf --ansi --disabled --bind "change:reload:rg --column --line-number --no-heading --color=always --smart-case -- {q}" # No sudden expansion of the arguments on '!' fzf --disabled --preview "echo {q} {n} {}" --query "&|<>()@^%!" --prompt "&|<>()@^%!"
2024-05-06Count $FZF_CLICK_HEADER_LINE from top to bottomJunegunn Choi
Regardless of `--layout`. https://github.com/junegunn/fzf/pull/3768#issuecomment-2094806558
2024-05-05Add click-header event for reporting clicks within header (#3768)Kuremu
Sets $FZF_CLICK_HEADER_LINE and $FZF_CLICK_HEADER_COLUMN env vars with coordinates of the last click inside and relative to the header and fires click-header event. Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2024-05-010.51.00.51.0Junegunn Choi
2024-04-27Add $FZF_POS environment variableJunegunn Choi
Close #2175 Close #3753
2024-04-27Add --with-shell for shelling out with different command and flags (#3746)Junegunn Choi
Close #3732
2024-04-27Add 'change-multi' actionJunegunn Choi
Close #3754
2024-04-20Remove invalid 'result' event when using --sync optionJunegunn Choi
When the search for the initial query doesn't finish immediately fzf would trigger an invalid 'result' event for an empty query. seq 100 | fzf --query 99 --bind result:accept --sync # Prints 99 seq 1000000 | fzf --query 99 --bind result:accept --sync # Should print 99, but fzf would print 1
2024-04-150.50.00.50.0Junegunn Choi
2024-04-13Export $FZF_KEY environment variable to child processesJunegunn Choi
It's the name of the last key pressed. Related #3412
2024-04-10Add jump and jump-cancel eventsJunegunn Choi
Close #3412 # Default behavior fzf --bind space:jump # Same as jump-accept action fzf --bind space:jump,jump:accept # Accept on jump, abort on cancel fzf --bind space:jump,jump:accept,jump-cancel:abort # Change header on jump-cancel fzf --bind 'space:change-header(Type jump label)+jump,jump-cancel:change-header:Jump cancelled'
2024-04-050.49.00.49.0Junegunn Choi
2024-04-04Do not hide separator by default on --info=inline-right|hiddenJunegunn Choi
2024-03-29Add environment variables: FZF_{BORDER,PREVIEW}_LABEL (#3693)Matthieu Cneude
The environment variable get the value of the preview label, even if it has been updated with an action. It can be useful to track the label of the preview and be able to switch between previews using only one binding. Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2024-03-28Add track-current, untrack-current, and toggle-track-current (#3699)Junegunn Choi
Close #3691
2024-03-170.48.10.48.1Junegunn Choi
2024-03-140.48.00.48.0Junegunn Choi
2024-03-13Embed shell integration scripts in fzf binary (`--bash` / `--zsh` / ↵Junegunn Choi
`--fish`) (#3675) This simplifies the distribution, and the users are less likely to have problems caused by using incompatible scripts and binaries. # Set up fzf key bindings and fuzzy completion eval "$(fzf --bash)" # Set up fzf key bindings and fuzzy completion eval "$(fzf --zsh)" # Set up fzf key bindings fzf --fish | source
2024-03-13Add walker options and replace 'find' with the built-in walker (#3649)Junegunn Choi
2024-03-100.47.00.47.0Junegunn Choi
2024-02-29Add $FZF_DEFAULT_OPTS_FILE (#3618)Junegunn Choi
For those who prefer to manage default options in a file. If the file is not found, fzf will exit with an error. We're not setting a default value for it because: 1. it's hard to find a default value that can be universally agreed upon 2. to avoid fzf having to check for the existence of the file even when it's not used
2024-02-010.46.10.46.1Junegunn Choi
2024-01-230.46.00.46.0Junegunn Choi
2024-01-21Avoid deadlocks by adding a 2 second timeout to GET / endpointJunegunn Choi
Because fzf processes HTTP GET requests in the main event loop, accessing the endpoint from within execute/transform actions would result in a deadlock and hang fzf indefinitely. This commit sets a 2 second timeout to avoid the deadlock.
2024-01-21Add 'resize' eventJunegunn Choi
Close #3570
2024-01-21Change mattn/go-runewidth dependency to rivo/uniseg for accurate resultsJunegunn Choi
Related #3588 #3588 #3567
2024-01-16Expose state information via environment variables to child processesJunegunn Choi
Close #3582
2024-01-07Add 'result' event that is triggered when the result list is readyJunegunn Choi
Close #3560
2024-01-010.45.00.45.0Junegunn Choi
2023-12-31Add actions: show-header and hide-headerJunegunn Choi
2023-12-28Add {fzf:prompt} placeholder expressionJunegunn Choi
Close #3354
2023-12-26Add TRANSFORM ACTIONS section to man pageJunegunn Choi
2023-12-26Add 'transform' action to conditionally perform a series of actionsJunegunn Choi
'transform' action runs an external command that prints a series of actions to perform. # Disallow selecting an empty line echo -e "1. Hello\n2. Goodbye\n\n3. Exit" | fzf --reverse --header 'Select one' \ --bind 'enter:transform:[[ -n {} ]] && echo accept || echo "change-header:Invalid selection"' # Move cursor past the empty line echo -e "1. Hello\n2. Goodbye\n\n3. Exit" | fzf --reverse --header 'Select one' \ --bind 'enter:transform:[[ -n {} ]] && echo accept || echo "change-header:Invalid selection"' \ --bind 'focus:transform:[[ -n {} ]] && exit; [[ {fzf:action} =~ up$ ]] && echo up || echo down' Close #3368 Close #2980
2023-12-21Add support for negative --heightJunegunn Choi
fzf --height=-1 Close #3487
2023-12-10Add accept-or-print-queryJunegunn Choi
Close #3528
2023-11-170.44.10.44.1Junegunn Choi
2023-11-120.44.00.44.0Junegunn Choi
2023-11-05Add --listen-unsafe=ADDR to allow remote process execution (#3498)Junegunn Choi
2023-11-04Allow accepting remote connectionsJunegunn Choi
Close #3498 # FZF_API_KEY is required for a non-localhost listen address FZF_API_KEY=xxx fzf --listen 0.0.0.0:6266
2023-11-02sixel: Export $FZF_PREVIEW_TOP to the preview command (#2544)Junegunn Choi
So that it can determine if it should subtract 1 from $FZF_PREVIEW_LINES to avoid scrolling issue of Sixel image that touches the bottom of the screen.
2023-10-26(Experimental) Improve Sixel graphics support (#2544)Junegunn Choi
Progress: * Sixel image can now be displayed with other text, and is scrollable * If an image can't be displayed entirely due to the scroll offset, fzf will render a wireframe to indicate that an image should be displayed * Renamed $FZF_PREVIEW_{WIDTH,HEIGHT} to $FZF_PREVIEW_PIXEL_{WIDTH,HEIGHT} for clarity * Added bin/fzf-preview.sh script to demonstrate how to display an image using Kitty or Sixel protocol An example: ls *.jpg | fzf --preview='seq $((FZF_PREVIEW_LINES*9/10)); fzf-preview.sh {}; seq 100' A known issue: * If you reduce the size of the preview window, the image may extend beyond the preview window
2023-10-23Experimental Sixel support (#2544)Junegunn Choi