summaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
AgeCommit message (Collapse)Author
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-19CHANGELOG: charlievieth/fastwalkJunegunn Choi
2024-02-15Replace "default find command" with built-in directory traversalJunegunn Choi
2024-02-01More test fixes for tcell on GitHub ActionsJunegunn Choi
2024-01-27junegunn/uniseg -> rivo/unisegJunegunn Choi
https://github.com/rivo/uniseg/pull/47
2024-01-230.46.00.46.0Junegunn Choi
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-17Kitty image support improvementsJunegunn Choi
* Use `--unicode-placeholder` for consistent result in and out of tmux * Use updated version of junegunn/go-runewidth that handles diacritics used in Kitty Unicode placeholder Close #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-14Clarification on accept-or-print-query vs. becomeJunegunn Choi
2023-12-10Add accept-or-print-queryJunegunn Choi
Close #3528
2023-11-170.44.10.44.1Junegunn Choi
2023-11-10Revert "Sixel and Kitty image support on Windows binary (#2544)"Junegunn Choi
This reverts commit 68db9cb499ab32190edae6c285942c5fb7cf39ed.
2023-11-07(Experimental) Add support for iTerm2 inline image protocolJunegunn Choi
Close #1102 fzf --preview 'imgcat -W $FZF_PREVIEW_COLUMNS -H $FZF_PREVIEW_LINES {}' Notes: * There is no good way to determine the height of the rendered image, so we assume that the image takes the full height of the preview window. So the image cannot be displayed with the other text. * fzf-preview.sh script was updated to use `imgcat` if it's available but `chafa` is not. * iTerm2 also supports Sixel, so adding support for this protocol is not quite necessary but it renders animated GIFs much better (e.g. looping).
2023-11-07Fix a typo on CHANGELOGJunegunn 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-03Sixel and Kitty image support on Windows binary (#2544)Junegunn Choi
2023-10-26Remove $FZF_PREVIEW_PIXEL_{WIDTH,HEIGHT} (#2544)Junegunn Choi
They are not neccessary because we can use a program such as chafa that can resize images by the terminal columns and lines.
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
2023-10-150.43.00.43.0Junegunn Choi
2023-10-11Add offset-up and offset-downJunegunn Choi
# Scrolling will behave similarly to CTRL-E and CTRL-Y of vim fzf --bind scroll-up:offset-up,scroll-down:offset-down \ --bind ctrl-y:offset-up,ctrl-e:offset-down \ --scroll-off=5 Close #3456
2023-10-11Add mouse events for --bindJunegunn Choi
Close #3473
2023-10-09Update README: Experimental support for Kitty graphics protocolJunegunn Choi
2023-10-07Experimental support for Kitty image protocol in preview windowJunegunn Choi
Close #3228 * Works inside and outside of tmux * There is a problem where fzf unnecessarily displays the scroll offset indicator at the topbright of the screen when the image just fits the preview window. This is because `kitty icat` generates an extra line after the image area. # A 5-row images; an extra row at the end confuses fzf ["\e_Ga ... \e[9C􎻮̅̅ࠪ􎻮̅̍ࠪ􎻮̅̎ࠪ􎻮̅̐ࠪ􎻮̅̒ࠪ􎻮̅̽ࠪ􎻮̅̾ࠪ􎻮̅̿ࠪ􎻮̅͆ࠪ􎻮̅͊ࠪ􎻮̅͋ࠪ\n", "\r\e[9C􎻮̍̅ࠪ􎻮̍̍ࠪ􎻮̍̎ࠪ􎻮̍̐ࠪ􎻮̍̒ࠪ􎻮̍̽ࠪ􎻮̍̾ࠪ􎻮̍̿ࠪ􎻮̍͆ࠪ􎻮̍͊ࠪ􎻮̍͋ࠪ\n", "\r\e[9C􎻮̎̅ࠪ􎻮̎̍ࠪ􎻮̎̎ࠪ􎻮̎̐ࠪ􎻮̎̒ࠪ􎻮̎̽ࠪ􎻮̎̾ࠪ􎻮̎̿ࠪ􎻮̎͆ࠪ􎻮̎͊ࠪ􎻮̎͋ࠪ\n", "\r\e[9C􎻮̐̅ࠪ􎻮̐̍ࠪ􎻮̐̎ࠪ􎻮̐̐ࠪ􎻮̐̒ࠪ􎻮̐̽ࠪ􎻮̐̾ࠪ􎻮̐̿ࠪ􎻮̐͆ࠪ􎻮̐͊ࠪ􎻮̐͋ࠪ\n", "\r\e[9C􎻮̒̅ࠪ􎻮̒̍ࠪ􎻮̒̎ࠪ􎻮̒̐ࠪ􎻮̒̒ࠪ􎻮̒̽ࠪ􎻮̒̾ࠪ􎻮̒̿ࠪ􎻮̒͆ࠪ􎻮̒͊ࠪ􎻮̒͋ࠪ\n", "\r\e[39m\e8"] * Example: fzf --preview=' if file --mime-type {} | grep -qF 'image/'; then # --transfer-mode=memory is the fastest option but if you want fzf to be able # to redraw the image on terminal resize or on 'change-preview-window', # you need to use --transfer-mode=stream. kitty icat --clear --transfer-mode=memory --stdin=no --place=${FZF_PREVIEW_COLUMNS}x${FZF_PREVIEW_LINES}@0x0 {} else bat --color=always {} fi '
2023-09-22Update CHANGELOGJunegunn Choi
2023-09-03Add 'GET /' endpoint for getting the program state (experimental)Junegunn Choi
Related #3372
2023-09-01Fix center-alignment of border/preview labelJunegunn Choi
Fix #3421
2023-08-25Restore --no-clear option in man pageJunegunn Choi
Close #3411
2023-07-25Add toggle-header optionJunegunn Choi
Close #3358
2023-07-20Add API Keys for fzf --listen (#3374)Boaz Yaniv
2023-06-150.42.00.42.0Junegunn Choi
2023-06-11Add --info=rightJunegunn Choi
Related: #3322
2023-06-10Add --info=inline-rightJunegunn Choi
Close #3322
2023-06-10Add new border style: 'thinblock' (#3327)Mike
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2023-05-270.41.10.41.1Junegunn Choi
2023-05-260.41.00.41.0Junegunn Choi
2023-05-16Allow customizing scrollbar of the preview window via --scrollbar=xyJunegunn Choi
2023-05-16Add new border style: 'block'Junegunn Choi
2023-05-01Fix the background color of the scrollbar inside the preview windowJunegunn Choi
2023-05-01Fix caching when reload and query change triggered by the same bindingJunegunn Choi