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
Provenance
- Commit
2024010- Tree
c803538- Author
Junegunn Choi <junegunn.c@gmail.com>- Committer
Junegunn Choi <junegunn.c@gmail.com>- Parent
412040f
12 files changed+28 added−16 removed
modified:doc/fzf.txt+2 added-2 removed
1-fzf.txt fzf Last change: September 17 20231+fzf.txt fzf Last change: January 1 20242 FZF - TABLE OF CONTENTS *fzf* *fzf-toc*3 ==============================================================================4 5 FZF Vim integration |fzf-vim-integration|505 unmodified lines511 ==============================================================================512 513 The MIT License (MIT)514 515-Copyright (c) 2013-2023 Junegunn Choi515+Copyright (c) 2013-2024 Junegunn Choi516 517 ==============================================================================518 vim:tw=78:sw=2:ts=2:ft=help:norl:nowrap:modified:man/man1/fzf-tmux.1+2 added-2 removed
1 .ig2 The MIT License (MIT)3 4-Copyright (c) 2013-2023 Junegunn Choi4+Copyright (c) 2013-2024 Junegunn Choi5 6 Permission is hereby granted, free of charge, to any person obtaining a copy7 of this software and associated documentation files (the "Software"), to deal8 in the Software without restriction, including without limitation the rights11 unmodified lines20 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,21 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN22 THE 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"25 26 .SH NAME27 fzf-tmux - open fzf in tmux split pane28 40 unmodified linesmodified:man/man1/fzf.1+2 added-2 removed
1 .ig2 The MIT License (MIT)3 4-Copyright (c) 2013-2023 Junegunn Choi4+Copyright (c) 2013-2024 Junegunn Choi5 6 Permission is hereby granted, free of charge, to any person obtaining a copy7 of this software and associated documentation files (the "Software"), to deal8 in the Software without restriction, including without limitation the rights11 unmodified lines20 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,21 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN22 THE 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"25 26 .SH NAME27 fzf - a command-line fuzzy finder28 1384 unmodified linesmodified: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 obtaining1093 unmodified linesmodified:src/LICENSE+1 added-1 removed
1 The MIT License (MIT)2 3-Copyright (c) 2013-2023 Junegunn Choi3+Copyright (c) 2013-2024 Junegunn Choi4 5 Permission is hereby granted, free of charge, to any person obtaining a copy6 of this software and associated documentation files (the "Software"), to deal7 in the Software without restriction, including without limitation the rights14 unmodified linesmodified:CHANGELOG.md+14 added-2 removed
13 unmodified lines14 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'18+19+ # 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 lines39 ```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"'47+48+ # 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 linesmodified:install+1 added-1 removed
1 #!/usr/bin/env bash2 3 set -u4 5-version=0.44.15+version=0.45.06 auto_completion=7 key_bindings=8 update_config=29 shells="bash zsh fish"371 unmodified linesmodified:install.ps1+1 added-1 removed
1-$version="0.44.1"1+$version="0.45.0"2 3 $fzf_base=Split-Path -Parent $MyInvocation.MyCommand.Definition4 5 function check_binary () {60 unmodified linesmodified:LICENSE+1 added-1 removed
1 The MIT License (MIT)2 3-Copyright (c) 2013-2023 Junegunn Choi3+Copyright (c) 2013-2024 Junegunn Choi4 5 Permission is hereby granted, free of charge, to any person obtaining a copy6 of this software and associated documentation files (the "Software"), to deal7 in the Software without restriction, including without limitation the rights14 unmodified linesmodified:main.go+1 added-1 removed
3 unmodified lines4 fzf "github.com/junegunn/fzf/src"5 "github.com/junegunn/fzf/src/protector"6 )7 8-var version string = "0.44"8+var version string = "0.45"9 var revision string = "devel"10 11 func main() {12 protector.Protect()2 unmodified linesmodified:README-VIM.md+1 added-1 removed
487 unmodified lines488 ------------------489 490 The MIT License (MIT)491 492-Copyright (c) 2013-2023 Junegunn Choi492+Copyright (c) 2013-2024 Junegunn Choimodified:README.md+1 added-1 removed
808 unmodified lines809 ------------------810 811 The MIT License (MIT)812 813-Copyright (c) 2013-2023 Junegunn Choi813+Copyright (c) 2013-2024 Junegunn Choi