-
Notifications
You must be signed in to change notification settings - Fork 0
Update dependency junegunn/fzf/fzf-tmux to v0.67.0 #1233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
v2
Choose a base branch
from
renovate/junegunn-fzf-fzf-tmux-0.x
base: v2
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61d8e8a to
1e6a563
Compare
1e6a563 to
2a7f1a6
Compare
2a7f1a6 to
cbe6f18
Compare
cbe6f18 to
466f72a
Compare
466f72a to
6c378d7
Compare
6c378d7 to
8e195e0
Compare
8e195e0 to
1ef7c23
Compare
1ef7c23 to
1ae47e9
Compare
1ae47e9 to
ed210d6
Compare
ed210d6 to
fa6d98f
Compare
fa6d98f to
f4f258e
Compare
f4f258e to
300bac7
Compare
300bac7 to
2217a3b
Compare
2217a3b to
f354488
Compare
f354488 to
a634209
Compare
a634209 to
af0b684
Compare
af0b684 to
6ebd5a6
Compare
6ebd5a6 to
eb93ae4
Compare
eb93ae4 to
71987e0
Compare
71987e0 to
9660cb6
Compare
9660cb6 to
bb00f9c
Compare
bb00f9c to
f6e49a9
Compare
f6e49a9 to
74fff79
Compare
74fff79 to
65fd061
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.54.0→v0.67.0Release Notes
junegunn/fzf (junegunn/fzf/fzf-tmux)
v0.67.0: 0.67.0Compare Source
--freeze-left=Noption to keep the leftmost N columns always visible.--freeze-right=Noption to keep the rightmost N columns always visible.--info=inlineto print the spinner (load indicator).v0.66.1: 0.66.1Compare Source
--no-color/NO_COLORtheme (#4561)v0.66.0: 0.66.0Compare Source
Quick summary
This version introduces many new features centered around the new "raw" mode.
--raw--gutter CHAR--gutter-raw CHAR--listen SOCKETtoggle-rawenable-rawdisable-rawup-matchdown-matchbestnomatchstripFZF_RAWFZF_DIRECTIONupordowndepending on the layoutFZF_SOCKCTRL-Ndown->down-matchCTRL-Pup->up-matchCTRL-RbindingALT-RCTRL-RbindingFZF_CTRL_R_COMMAND1. Introducing "raw" mode
This version introduces a new "raw" mode (named so because it shows the list "unfiltered"). In raw mode, non-matching items stay in their original positions, but appear dimmed. This allows you to see the surrounding items of a match and better understand the context of it. You can enable raw mode by default with
--raw, but it's often more useful when toggled dynamically with thetoggle-rawaction.tree | fzf --reverse --bind alt-r:toggle-rawWhile non-matching items are displayed in a dimmed color, they are treated just like matching items, so you can place the cursor on them and perform any action. If you prefer to navigate only through matching items, use the
down-matchandup-matchactions, which are from now on bound toCTRL-NandCTRL-Prespectively, and also toALT-DOWNandALT-UP.--historydowndownupupctrl-jdownctrl-kupctrl-ndown-matchnext-historyctrl-pup-matchprev-historyalt-downdown-matchalt-upup-matchCustomizing the behavior
In raw mode, the input list is presented in its original order, unfiltered, and your cursor will not move to the matching item automatically. Here are ways to customize the behavior.
Customizing the look
Gutter
To make the mode visually distinct, the gutter column is rendered in a dashed line using
▖character. But you can customize it with the--gutter-raw CHARoption.### Use a thinner gutter instead of the default dashed line fzf --bind alt-r:toggle-raw --gutter-raw ▎Color and style of non-matching items
Non-matching items are displayed in a dimmed color by default, but you can change it with the
--color nomatch:...option.For colored input, dimming alone may not be enough, and you may prefer to remove colors entirely. For that case, a new special style attribute
striphas been added.fd --color always | fzf --ansi --raw --color nomatch:dim:strip:strikethroughConditional actions for raw mode
You may want to perform different actions depending on whether the current item is a match or not. For that, fzf now exports
$FZF_RAWenvironment variable.It's:
1if the current item is a match0otherwiseLeveraging raw mode in shell integration
The
CTRL-Rbinding (command history) now lets you toggle raw mode withALT-R.2. Style changes
The screenshot on the right shows the updated gutter style:
This version includes a few minor updates to fzf's classic visual style:
▌).--color base16theme (alias:16) has been updated for better compatibility with both dark and light themes.3.
--listennow supports Unix domain socketsIf an argument to
--listenends with.sock, fzf will listen on a Unix domain socket at the specified path.Note that any existing file at the given path will be removed before creating the socket, so avoid using an important file path.
4. Added options
--gutter CHARThe gutter column can now be customized using
--gutter CHARand styled with--color gutter:.... Examples:--gutter-raw CHARAs noted above, the
--gutter-raw CHARoption was also added for customizing the gutter column in raw mode.5. Added actions
The following actions were introduced to support working with raw mode:
toggle-rawenable-rawdisable-rawup-matchupif raw mode is disableddown-matchdownif raw mode is disabledbestfirstif raw mode is disabled6. Added environment variables
$FZF_DIRECTION$FZF_DIRECTIONis now exported to child processes, indicating the list direction of the current layout:upfor the default layoutdownforreverseorreverse-listThis simplifies writing transform actions involving layout-dependent actions like
{up,down}-match,{up,down}-selected, andtoggle+{up,down}.fzf --raw --bind 'result:first+transform:[[ $FZF_RAW = 0 ]] && echo $FZF_DIRECTION-match'$FZF_SOCKWhen fzf is listening on a Unix domain socket using
--listen, the path to the socket is exported as$FZF_SOCK, analogous to$FZF_PORTfor TCP sockets.$FZF_RAWAs described above,
$FZF_RAWis now exported to child processes in raw mode, indicating whether the current item is a match (1) or not (0). It is not defined when not in raw mode.$FZF_CTRL_R_COMMANDYou can opt-out
CTRL-Rbinding from the shell integration by settingFZF_CTRL_R_COMMANDto an empty string. Setting it to any other value is not supported and will result in a warning.7. Added key support for
--bindPull request #3996 added support for many additional keys for
--bindoption, such asctrl-backspace.8. Breaking changes
Hiding the gutter column
In the previous versions, the recommended way to hide the gutter column was to set
--color gutter:-1. That's because the gutter column was just a space character, reversed. But now that it's using a visible character (▌), applying the default color is no longer enough to hide it. Instead, you can set it to a space character.--coloroptionIn the previous versions, some elements had default style attributes applied and you would have to explicitly unset them with
regularattribute if you wanted to reset them. This is no longer needed now, as the default style attributes are applied only when you do not specify any color or style for that element.Compatibility changes
Starting with this release, fzf is built with Go 1.23. Support for some old OS versions has been dropped.
See https://go.dev/wiki/MinimumRequirements.
v0.65.2: 0.65.2Compare Source
--info-commandwith--info=inline-right(#4479)CTRL-TandALT-Cto preserve the last yank (#4496)FZF_DEFAULT_*variables when using winpty (#4497) (#4400)v0.65.1: 0.65.1Compare Source
$FZF_CLICK_HEADER_WORDand$FZF_CLICK_FOOTER_WORDwhen the header or footer contains ANSI escape sequences and tab characters.--nthusingchange-nthaction.--color fg:dim,nth:regularpattern over ANSI-colored items.v0.65.0: 0.65.0Compare Source
click-footerevent that is triggered when the footer section is clicked. When the event is triggered, the following environment variables are set:$FZF_CLICK_FOOTER_COLUMN- clicked column (1-based)$FZF_CLICK_FOOTER_LINE- clicked line (1-based)$FZF_CLICK_FOOTER_WORD- the word under the cursortrigger(...)action that triggers events bound to another key or event.fzf --bind 'a:up,b:trigger(a,a,a)'{*n}and{*nf}placeholder.{*n}evaluates to the zero-based ordinal index of all matched items.{*nf}evaluates to the temporary file containing that.&winborderis used (#4453)--no-header-lines-borderbehavior (08027e7)v0.64.0: 0.64.0Compare Source
multievent that is triggered when the multi-selection has changed.fzf --multi \ --bind 'ctrl-a:select-all,ctrl-d:deselect-all' \ --bind 'multi:transform-footer:(( FZF_SELECT_COUNT )) && echo "Selected $FZF_SELECT_COUNT item(s)"'clear-selectionaction toclear-multifor consistency.clear-selectionremains supported as an alias for backward compatibility.excludeorchange-nth.v0.63.0: 0.63.0Compare Source
Release highlights: https://junegunn.github.io/fzf/releases/0.63.0/
line, which draws a single separator line.fzf --reverse --footer "fzf: friend zone forever"--footer[=STRING]--footer-border[=STYLE]--footer-label=LABEL--footer-label-pos=COL[:bottom]footerfooter-bgfooter-borderfooter-labelchange-footertransform-footerbg-transform-footerchange-footer-labeltransform-footer-labelbg-transform-footer-labellineborder style is now allowed for all types of border except for--list-border.{*}placeholder flag that evaluates to all matched items.bg-prefix that run asynchronously in the background, along withbg-cancelaction to cancel currently runningbg-transformactions.v0.62.0: 0.62.0Compare Source
--coloroption syntax to allow whitespace-separated entries (in addition to commas), making multi-line definitions easier to write and readalt-bgcolor to create striped lines to visually separate rowsreload(#4364)selected-bgnot applied to colored items (#4372)Screenshot
v0.61.3: 0.61.3Compare Source
tmux run-shell 'fzf --tmux'to fail (#4559 #4560)v0.61.2: 0.61.2Compare Source
--tmuxoption when already inside a tmux popup (@peikk0)--no-tty-defaultoption to make fzf search for the current TTY device instead of defaulting to/dev/tty(#4242)v0.61.1: 0.61.1Compare Source
v0.61.0: 0.61.0Compare Source
--ghost=TEXTto display a ghost text when the input is emptychange-ghostandtransform-ghostactions for dynamically changing the ghost textchange-pointerandtransform-pointeractions for dynamically changing the pointer signrflag for placeholder expression (raw mode) for unquoted outputv0.60.3: 0.60.3Compare Source
becomewhen using--tmuxoption (#4283)--accept-nthcompatible with--select-1(#4287)v0.60.2: 0.60.2Compare Source
--with-nthand--accept-nthnow supports{n}which evaluates to the zero-based ordinal index of the itemv0.60.1: 0.60.1Compare Source
v0.60.0: 0.60.0Compare Source
Release highlights: https://junegunn.github.io/fzf/releases/0.60.0/
--accept-nthfor choosing output fields--accept-nthand--with-nthnow support a template that includes multiple field index expressions in curly bracesexcludeandexclude-multiactions for dynamically excluding itemsv0.59.0: 0.59.0Compare Source
Release highlights: https://junegunn.github.io/fzf/releases/0.59.0/
pathnamefor prioritizing file name matches--scheme=pathnow sets--tiebreak=pathname,lengthpathscheme$FZF_DEFAULT_COMMANDwhich is usually a command for listing files,reloadortransformaction is bound tostartevent, because in that case, fzf can't be sure of the input type.--header-lines-borderto display header from--header-lineswith a separate borderclick-headerevent now sets$FZF_CLICK_HEADER_WORDand$FZF_CLICK_HEADER_NTH. You can use them to implement a clickable header for changing the search scope using the newtransform-nthaction.$FZF_KEYwas updated to expose the type of the click. e.g.click,ctrl-click, etc. You can use it to implement a more sophisticated behavior.killcompletion for bash and zsh were updated to use this feature--no-inputoption to completely disable and hide the input sectionshow-inputortoggle-inputaction, and hide it again usinghide-input, ortoggle-input.{q}placeholder to support ranges. e.g.{q:1},{q:2..}, etc.search(...)andtransform-search(...)action to trigger an fzf search with an arbitrary query string. This can be used to extend the search syntax of fzf. In the following example, fzf will use the first word of the query to trigger ripgrep search, and use the rest of the query to perform fzf search within the result.--min-heightoption now takes a number followed by+, which tells fzf to show at least that many items in the list section. The default value is now changed to10+.--min-height 20+by default--header-lineswill be displayed at the top inreverse-listlayoutbellaction to ring the terminal belltoggle-bindactionv0.58.0: 0.58.0Compare Source
Release highlights: https://junegunn.github.io/fzf/releases/0.58.0/
This version introduces three new border types,
--list-border,--input-border, and--header-border, offering much greater flexibility for customizing the user interface.Also, fzf now offers "style presets" for quick customization, which can be activated using the
--styleoption.defaultfullminimal--style=full[:BORDER_STYLE]--style=default--style=minimal--list-border[=STYLE]--list-label=LABEL--list-label-pos=COL[:bottom]list-fglist-bglist-borderlist-labelchange-list-labeltransform-list-label--input-border[=STYLE]--input-label=LABEL--input-label-pos=COL[:bottom]input-fg(query)input-bginput-borderinput-labelchange-input-labeltransform-input-label--header-border[=STYLE]--header-label=LABEL--header-label-pos=COL[:bottom]header-fg(header)header-bgheader-borderheader-labelchange-header-labeltransform-header-label--preview-border[=STYLE]as short for--preview-window=border[-STYLE]linewhich draws a single separator line between the preview window and the rest of the interface┈┈) in each--gapfor better visual separation.--gap-line[=STR].border-nativeto--tmuxso that native tmux border is used instead of--border. This can be useful if you start a different program from inside the popup.fzf --tmux border-native --bind 'enter:execute:less {}'toggle-multi-lineactiontoggle-hscrollactionchange-nthaction for dynamically changing the value of the--nthoption--nthparts of each line can now be rendered in a different text style--delimiter '|'instead of escaping it as--delimiter '\|'v0.57.0: 0.57.0Compare Source
--walker-rootcan take multiple directory arguments. e.g.--walker-root include src lib--walker-skipcan handle multi-component patterns. e.g.--walker-skip target/buildFZF_PREVIEW_*environment variables are exported to all child processes (#4098)v0.56.3: 0.56.3Compare Source
v0.56.2: 0.56.2Compare Source
--wrapis set (#4083)ksh_arraysis set (#4084)v0.56.1: 0.56.1Compare Source
reload(#4070)page-upandpage-downactions now work correctly with multi-line items (#4069){n}is allowed inSCROLLexpression in--preview-window(#4079)v0.56.0: 0.56.0Compare Source
--gap[=N]option to display empty lines between items.--color gutter:-1as well to hide the gutter.noinfooption to--preview-windowto hide the scroll indicator in the preview windowv0.55.0: 0.55.0Compare Source
Release highlights: https://junegunn.github.io/fzf/releases/0.55.0/
exact-boundary-matchtype to the search syntax. When a search term is single-quoted, fzf will search for the exact occurrences of the string with both ends at word boundaries.complete -Doption__fzf_default_completionfunction for more information$FZF_DEFAULT_OPTSand$FZF_DEFAULT_OPTS_FILE--ellipsisis now··instead of...exitcallback that is called with the exit status of fzf--tmux bottomwhen the status line is not at the bottom--read0or--wrap)pscommand forkillcompletion on Cygwinv0.54.3: 0.54.3Compare Source
$FZF_DEFAULT_COMMANDFZF_DEFAULT_COMMAND='echo $FZF_QUERY' fzf --query foov0.54.2: 0.54.2Compare Source
tar.gzformat instead ofzipformat since we no longer notarize the zip files but binaries--no-height).--no-heightto your$FZF_DEFAULT_OPTS.v0.54.1: 0.54.1Compare Source
cdinstead ofbuiltin cdbuiltin cdwas introduced to work around a bug ofcdcoming fromzoxide init --cmd cd fishwhere it cannot handle--argument.cdof fish is actually a wrapper function for supportingcd -, so we want to use it instead.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.