Skip to content
Myr

0.15.4

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 aeb957a · Browse files · 6 files+42 added−21 removed
This commit

State

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

Diff stats

6 files+42 added−21 removed

  • other:+42 added−21 removed

6 files+42 added−21 removed

modified:man/man1/fzf-tmux.1+1 added-1 removed
19 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 "Sep 2016" "fzf 0.15.3" "fzf-tmux - open fzf in tmux split pane"24.TH fzf-tmux 1 "Oct 2016" "fzf 0.15.4" "fzf-tmux - open fzf in tmux split pane"2526.SH NAME27fzf-tmux - open fzf in tmux split pane28
26 unmodified lines
modified:man/man1/fzf.1+16 added-8 removed
19 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 "Sep 2016" "fzf 0.15.3" "fzf - a command-line fuzzy finder"24.TH fzf 1 "Oct 2016" "fzf 0.15.4" "fzf - a command-line fuzzy finder"2526.SH NAME27fzf - a command-line fuzzy finder28
202 unmodified lines
231.SS Preview232.TP233.BI "--preview=" "COMMAND"234Execute the given command for the current line and display the result on the235preview window. \fB{}\fR is the placeholder for the quoted string of the236current line.235preview window. \fB{}\fR in the command is the placeholder that is replaced to236the single-quoted string of the current line. To transform the replacement237string, specify field index expressions between the braces (See \fBFIELD INDEX238EXPRESSION\fR for the details). Also, \fB{q}\fR is replaced to the current239query string.240241.RS242e.g. \fBfzf --preview="head -$LINES {}"\fR243 \fBls -l | fzf --preview="echo user={3} when={-4..-2}; cat {-1}" --header-lines=1\fR244245Note that you can escape a placeholder pattern by prepending a backslash.246.RE247.TP248.BI "--preview-window=" "[POSITION][:SIZE[%]][:hidden]"249Determine the layout of the preview window. If the argument ends with
113 unmodified lines
363with the given string. An anchored-match term is also an exact-match term.364365.SS Negation366If a term is prefixed by \fB!\fR, fzf will exclude the lines that satisfy the361term from the result.367term from the result. In this case, fzf performs exact match by default.368369.SS Exact-match by default370If you don't prefer fuzzy matching and do not wish to "quote" (prefixing with371\fB'\fR) every word, start fzf with \fB-e\fR or \fB--exact\fR option. Note that
93 unmodified lines
465binding \fBenter\fR key to \fBless\fR command like follows.466467 \fBfzf --bind "enter:execute(less {})"\fR468463\fB{}\fR is the placeholder for the quoted string of the current line.464If the command contains parentheses, you can use any of the following465alternative notations to avoid parse errors.469You can use the same placeholder expressions as in \fB--preview\fR.470471If the command contains parentheses, fzf may fail to parse the expression. In472that case, you can use any of the following alternative notations to avoid473parse errors.474475 \fBexecute[...]\fR476 \fBexecute~...~\fR477 \fBexecute!...!\fR478 \fBexecute@...@\fR
9 unmodified lines
488 \fBexecute:...\fR489.RS490This is the special form that frees you from parse errors as it does not expect491the closing character. The catch is that it should be the last one in the484comma-separated list.492comma-separated list of key-action pairs.493.RE494495\fBexecute-multi(...)\fR is an alternative action that executes the command496with the selected entries when multi-select is enabled (\fB--multi\fR). With
21 unmodified lines
modified:src/constants.go+1 added-1 removed
6 unmodified lines
7)89const (10 // Current version11 version = "0.15.3"11 version = "0.15.4"1213 // Core14 coordinatorDelayMax time.Duration = 100 * time.Millisecond15 coordinatorDelayStep time.Duration = 10 * time.Millisecond
53 unmodified lines
modified:CHANGELOG.md+13 added
1CHANGELOG2=========340.15.45------6- Added support for range expression in preview and execute action7 - e.g. `ls -l | fzf --preview="echo user={3} when={-4..-2}; cat {-1}" --header-lines=1`8 - `{q}` will be replaced to the single-quoted string of the current query9- Fixed to properly handle unicode whitespace characters10- Display scroll indicator in preview window11- Inverse search term will use exact matcher by default12 - This is a breaking change, but I believe it makes much more sense. It is13 almost impossible to predict which entries will be filtered out due to14 a fuzzy inverse term. You can still perform inverse-fuzzy-match by15 prepending `!'` to the term.16170.15.318------19- Added support for more ANSI attributes: dim, underline, blink, and reverse20- Fixed race condition in `toggle-preview`
462 unmodified lines
modified:install+2 added-2 removed
1#!/usr/bin/env bash23set -u45[[ "$@" =~ --pre ]] && version=0.15.3 pre=1 ||6 version=0.15.3 pre=05[[ "$@" =~ --pre ]] && version=0.15.4 pre=1 ||6 version=0.15.4 pre=078auto_completion=9key_bindings=10update_config=2
398 unmodified lines
modified:README.md+9 added-9 removed
111 unmodified lines
112#### Search syntax113114Unless otherwise specified, fzf starts in "extended-search mode" where you can115type in multiple search terms delimited by spaces. e.g. `^music .mp3$ sbtrkt116!rmx`116!fire`117118| Token | Match type | Description |119| -------- | -------------------- | -------------------------------- |120| `sbtrkt` | fuzzy-match | Items that match `sbtrkt` |121| `^music` | prefix-exact-match | Items that start with `music` |122| `.mp3$` | suffix-exact-match | Items that end with `.mp3` |123| `'wild` | exact-match (quoted) | Items that include `wild` |124| `!rmx` | inverse-fuzzy-match | Items that do not match `rmx` |125| `!'fire` | inverse-exact-match | Items that do not include `fire` |118| Token | Match type | Description |119| -------- | -------------------------- | --------------------------------- |120| `sbtrkt` | fuzzy-match | Items that match `sbtrkt` |121| `^music` | prefix-exact-match | Items that start with `music` |122| `.mp3$` | suffix-exact-match | Items that end with `.mp3` |123| `'wild` | exact-match (quoted) | Items that include `wild` |124| `!fire` | inverse-exact-match | Items that do not include `fire` |125| `!.mp3$` | inverse-suffix-exact-match | Items that do not end with `.mp3` |126127If you don't prefer fuzzy matching and do not wish to "quote" every word,128start fzf with `-e` or `--exact` option. Note that when `--exact` is set,129`'`-prefix "unquotes" the term.
302 unmodified lines