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
Provenance
- Commit
3222d62- Tree
4be529f- Author
Junegunn Choi <junegunn.c@gmail.com>- Committer
Junegunn Choi <junegunn.c@gmail.com>- Parent
aeb957a
6 files changed+42 added−21 removed
modified:man/man1/fzf-tmux.1+1 added-1 removed
19 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 "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"25 26 .SH NAME27 fzf-tmux - open fzf in tmux split pane28 26 unmodified linesmodified:man/man1/fzf.1+16 added-8 removed
19 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 "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"25 26 .SH NAME27 fzf - a command-line fuzzy finder28 202 unmodified lines231 .SS Preview232 .TP233 .BI "--preview=" "COMMAND"234 Execute the given command for the current line and display the result on the235-preview window. \fB{}\fR is the placeholder for the quoted string of the236-current line.235+preview window. \fB{}\fR in the command is the placeholder that is replaced to236+the single-quoted string of the current line. To transform the replacement237+string, specify field index expressions between the braces (See \fBFIELD INDEX238+EXPRESSION\fR for the details). Also, \fB{q}\fR is replaced to the current239+query string.240 241 .RS242 e.g. \fBfzf --preview="head -$LINES {}"\fR243+ \fBls -l | fzf --preview="echo user={3} when={-4..-2}; cat {-1}" --header-lines=1\fR244+245+Note that you can escape a placeholder pattern by prepending a backslash.246 .RE247 .TP248 .BI "--preview-window=" "[POSITION][:SIZE[%]][:hidden]"249 Determine the layout of the preview window. If the argument ends with113 unmodified lines363 with the given string. An anchored-match term is also an exact-match term.364 365 .SS Negation366 If a term is prefixed by \fB!\fR, fzf will exclude the lines that satisfy the361-term from the result.367+term from the result. In this case, fzf performs exact match by default.368 369 .SS Exact-match by default370 If 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 that93 unmodified lines465 binding \fBenter\fR key to \fBless\fR command like follows.466 467 \fBfzf --bind "enter:execute(less {})"\fR468 463-\fB{}\fR is the placeholder for the quoted string of the current line.464-If the command contains parentheses, you can use any of the following465-alternative notations to avoid parse errors.469+You can use the same placeholder expressions as in \fB--preview\fR.470 471+If the command contains parentheses, fzf may fail to parse the expression. In472+that case, you can use any of the following alternative notations to avoid473+parse errors.474+475 \fBexecute[...]\fR476 \fBexecute~...~\fR477 \fBexecute!...!\fR478 \fBexecute@...@\fR9 unmodified lines488 \fBexecute:...\fR489 .RS490 This is the special form that frees you from parse errors as it does not expect491 the closing character. The catch is that it should be the last one in the484-comma-separated list.492+comma-separated list of key-action pairs.493 .RE494 495 \fBexecute-multi(...)\fR is an alternative action that executes the command496 with the selected entries when multi-select is enabled (\fB--multi\fR). With21 unmodified linesmodified:src/constants.go+1 added-1 removed
6 unmodified lines7 )8 9 const (10 // Current version11- version = "0.15.3"11+ version = "0.15.4"12 13 // Core14 coordinatorDelayMax time.Duration = 100 * time.Millisecond15 coordinatorDelayStep time.Duration = 10 * time.Millisecond53 unmodified linesmodified:CHANGELOG.md+13 added
1 CHANGELOG2 =========3 4+0.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.16+17 0.15.318 ------19 - Added support for more ANSI attributes: dim, underline, blink, and reverse20 - Fixed race condition in `toggle-preview`462 unmodified linesmodified:install+2 added-2 removed
1 #!/usr/bin/env bash2 3 set -u4 5-[[ "$@" =~ --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=07 8 auto_completion=9 key_bindings=10 update_config=2398 unmodified linesmodified:README.md+9 added-9 removed
111 unmodified lines112 #### Search syntax113 114 Unless otherwise specified, fzf starts in "extended-search mode" where you can115 type in multiple search terms delimited by spaces. e.g. `^music .mp3$ sbtrkt116-!rmx`116+!fire`117 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-| `!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` |126 127 If you don't prefer fuzzy matching and do not wish to "quote" every word,128 start fzf with `-e` or `--exact` option. Note that when `--exact` is set,129 `'`-prefix "unquotes" the term.302 unmodified lines