Skip to content
Myr

0.45.0

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent 412040f · Browse files · 12 files+28 added−16 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

12 files+28 added−16 removed

  • other:+28 added−16 removed

12 files+28 added−16 removed

modified:doc/fzf.txt+2 added-2 removed
1fzf.txt fzf Last change: September 17 20231fzf.txt fzf Last change: January 1 20242FZF - TABLE OF CONTENTS *fzf* *fzf-toc*3==============================================================================45 FZF Vim integration |fzf-vim-integration|
505 unmodified lines
511==============================================================================512513The MIT License (MIT)514515Copyright (c) 2013-2023 Junegunn Choi515Copyright (c) 2013-2024 Junegunn Choi516517==============================================================================518vim:tw=78:sw=2:ts=2:ft=help:norl:nowrap:
modified:man/man1/fzf-tmux.1+2 added-2 removed
1.ig2The MIT License (MIT)34Copyright (c) 2013-2023 Junegunn Choi4Copyright (c) 2013-2024 Junegunn Choi56Permission is hereby granted, free of charge, to any person obtaining a copy7of this software and associated documentation files (the "Software"), to deal8in the Software without restriction, including without limitation the rights
11 unmodified lines
20LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,21OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN22THE SOFTWARE.23..24.TH fzf-tmux 1 "Nov 2023" "fzf 0.44.1" "fzf-tmux - open fzf in tmux split pane"24.TH fzf-tmux 1 "Jan 2024" "fzf 0.45.0" "fzf-tmux - open fzf in tmux split pane"2526.SH NAME27fzf-tmux - open fzf in tmux split pane28
40 unmodified lines
modified:man/man1/fzf.1+2 added-2 removed
1.ig2The MIT License (MIT)34Copyright (c) 2013-2023 Junegunn Choi4Copyright (c) 2013-2024 Junegunn Choi56Permission is hereby granted, free of charge, to any person obtaining a copy7of this software and associated documentation files (the "Software"), to deal8in the Software without restriction, including without limitation the rights
11 unmodified lines
20LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,21OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN22THE SOFTWARE.23..24.TH fzf 1 "Dec 2023" "fzf 0.45.0" "fzf - a command-line fuzzy finder"24.TH fzf 1 "Jan 2024" "fzf 0.45.0" "fzf - a command-line fuzzy finder"2526.SH NAME27fzf - a command-line fuzzy finder28
1384 unmodified lines
modified:plugin/fzf.vim+1 added-1 removed
1" Copyright (c) 2013-2023 Junegunn Choi1" Copyright (c) 2013-2024 Junegunn Choi2"3" MIT License4"5" Permission is hereby granted, free of charge, to any person obtaining
1093 unmodified lines
modified:src/LICENSE+1 added-1 removed
1The MIT License (MIT)23Copyright (c) 2013-2023 Junegunn Choi3Copyright (c) 2013-2024 Junegunn Choi45Permission is hereby granted, free of charge, to any person obtaining a copy6of this software and associated documentation files (the "Software"), to deal7in the Software without restriction, including without limitation the rights
14 unmodified lines
modified:CHANGELOG.md+14 added-2 removed
13 unmodified lines
14 echo -e "1. Hello\n2. Goodbye\n\n3. Exit" |15 fzf --height '~100%' --reverse --header 'Select one' \16 --bind 'enter:transform:[[ -n {} ]] && echo accept || echo "change-header:Invalid selection"' \17 --bind 'focus:transform:[[ -n {} ]] && exit; [[ {fzf:action} =~ up$ ]] && echo up || echo down'1819 # A single key binding to toggle between modes20 fd --type file |21 fzf --prompt 'Files> ' \22 --header 'CTRL-T: Switch between Files/Directories' \23 --bind 'ctrl-t:transform:[[ ! {fzf:prompt} =~ Files ]] &&24 echo "change-prompt(Files> )+reload(fd --type file)" ||25 echo "change-prompt(Directories> )+reload(fd --type directory)"'26 ```27- Added placeholder expressions28 - `{fzf:action}` - The name of the last action performed29 - `{fzf:prompt}` - Prompt string (including ANSI color codes)
9 unmodified lines
39 ```sh40 # You can make CTRL-R paste the current query when there's no match41 export FZF_CTRL_R_OPTS='--bind enter:accept-or-print-query'42 ```35 - Note that this new action isn't fundamentally different from the following `become` binding. `become` is apparently more versatile but it's not available on Windows.43 - Note that there are alternative ways to implement the same strategy44 ```sh45 # 'become' is apparently more versatile but it's not available on Windows.37 export FZF_CTRL_R_OPTS='--bind "enter:become:if [[ -n {} ]]; then echo {}; else echo {q}; fi"'46 export FZF_CTRL_R_OPTS='--bind "enter:become:if [ -z {} ]; then echo {q}; else echo {}; fi"'4748 # Using the new 'transform' action49 export FZF_CTRL_R_OPTS='--bind "enter:transform:[ -z {} ] && echo print-query || echo accept"'50 ```51- Added `show-header` and `hide-header` actions52- Bug fixes53
1766 unmodified lines
modified:install+1 added-1 removed
1#!/usr/bin/env bash23set -u45version=0.44.15version=0.45.06auto_completion=7key_bindings=8update_config=29shells="bash zsh fish"
371 unmodified lines
modified:install.ps1+1 added-1 removed
1$version="0.44.1"1$version="0.45.0"23$fzf_base=Split-Path -Parent $MyInvocation.MyCommand.Definition45function check_binary () {
60 unmodified lines
modified:LICENSE+1 added-1 removed
1The MIT License (MIT)23Copyright (c) 2013-2023 Junegunn Choi3Copyright (c) 2013-2024 Junegunn Choi45Permission is hereby granted, free of charge, to any person obtaining a copy6of this software and associated documentation files (the "Software"), to deal7in the Software without restriction, including without limitation the rights
14 unmodified lines
modified:main.go+1 added-1 removed
3 unmodified lines
4 fzf "github.com/junegunn/fzf/src"5 "github.com/junegunn/fzf/src/protector"6)78var version string = "0.44"8var version string = "0.45"9var revision string = "devel"1011func main() {12 protector.Protect()
2 unmodified lines
modified:README-VIM.md+1 added-1 removed
487 unmodified lines
488------------------489490The MIT License (MIT)491492Copyright (c) 2013-2023 Junegunn Choi492Copyright (c) 2013-2024 Junegunn Choi
modified:README.md+1 added-1 removed
808 unmodified lines
809------------------810811The MIT License (MIT)812813Copyright (c) 2013-2023 Junegunn Choi813Copyright (c) 2013-2024 Junegunn Choi