Commit Graph

70 Commits (20230117636c9dfa3ed6f6428c5bc4c51b02f60a)

Author SHA1 Message Date
Junegunn Choi 2023011763
0.36.0 1 year ago
Junegunn Choi b55f555487
0.35.1 2 years ago
Junegunn Choi d01ae55109
0.35.0 2 years ago
Junegunn Choi 04d0b0223f
0.34.0 2 years ago
Junegunn Choi 6fb41a202a
Add --scheme=[default|path|history] option to choose scoring scheme
Close #2909
Close #2930
2 years ago
Junegunn Choi 4993d19466
0.32.1 2 years ago
Junegunn Choi f0bfeba733
Add new tiebreak: 'chunk'
Favors the line with shorter matched chunk. A chunk is a set of
consecutive non-whitespace characters.

Unlike the default `length`, this new scheme works well with tabular input.

  # length prefers item #1, because the whole line is shorter,
  # chunk prefers item #2, because the matched chunk ("foo") is shorter
  fzf --height=6 --header-lines=2 --tiebreak=chunk --reverse --query=fo << "EOF"
  N | Field1 | Field2 | Field3
  - | ------ | ------ | ------
  1 | hello  | foobar | baz
  2 | world  | foo    | bazbaz
  EOF

If the input does not contain any spaces, `chunk` is equivalent to
`length`. But we're not going to set it as the default because it is
computationally more expensive.

Close #2285
Close #2537
- Not the exact solution to --tiebreak=length not taking --nth into account,
  but this should work. And the added benefit is that it works well even
  when --nth is not provided.
- Adding a bonus point to the last character of a word didn't turn out great.
  The order of the result suddenly changes when you type in the last
  character in the word producing a jarring effect.
2 years ago
Junegunn Choi ecc418ba77
0.31.0 2 years ago
Junegunn Choi d56f605b63
Add `rebind` action for restoring bindings after `unbind`
Fix #2752
Close #2564
2 years ago
Junegunn Choi ef67a45702
Add --ellipsis=.. option
Close #2432

Also see
- #1769
- https://github.com/junegunn/fzf/pull/1844#issuecomment-586663660
2 years ago
Junegunn Choi dc975e8974
0.29.0 2 years ago
Junegunn Choi e4c3ecc57e
0.28.0 3 years ago
Junegunn Choi 4138333f5c
0.27.3 3 years ago
Junegunn Choi e086f0b3fe
0.27.2 3 years ago
Junegunn Choi 0818dbc36a
0.27.1 3 years ago
Junegunn Choi 19759ed36e
0.27.0 3 years ago
Junegunn Choi 1b08f43f82
Advanced preview scroll offset expression to better support fixed header 3 years ago
Junegunn Choi f55c990e86
Add `close` action
Close #2331
3 years ago
Junegunn Choi 8c533e34ea
0.25.0 3 years ago
Junegunn Choi d779ff7e6d
Make search toggleable
- `--phony` renamed to `--disabled` for consistency
    - `--no-phony` is now `--enabled`
- Added `enable-search`, `disable-search`, and `toggle-search` actions
  for `--bind`
- Added `--color` options: `query` and `disabled`

Close #2303
3 years ago
Junegunn Choi 00a3610331
0.24.4 3 years ago
Junegunn Choi 6d647e13ff
Add change-prompt action
Close #2270
3 years ago
Junegunn Choi f6269f0193
Add --padding option
Close #2241
4 years ago
Junegunn Choi e3e76fa8c5
0.24.2 4 years ago
Junegunn Choi d4c9db0a27
0.24.1 4 years ago
Junegunn Choi 552414978e
0.24.0-rc1 4 years ago
Junegunn Choi fc7630a66d
0.23.1 4 years ago
Junegunn Choi dba14d2630
0.23.0 4 years ago
Junegunn Choi e2ae1b249c
0.22.0 4 years ago
Junegunn Choi 6dec42a33a
Update version numbers in man pages 4 years ago
Junegunn Choi 334a4fa159
0.21.1 4 years ago
Junegunn Choi bf65e8cd12 [fzf-tmux] Add option to start fzf in tmux popup window
Requires latest tmux built from source (e.g. brew install tmux --HEAD)

Examples:

  # 50%/50% width and height on the center of the screen
  fzf-tmux -p

  # 80%/80%
  fzf-tmux -p80%

  # 80%/40%
  fzf-tmux -p80%,40%

  # Separate -w and -h
  fzf-tmux -w80% -h40%

  # 80%/40% at position (0, 0)
  fzf-tmux -w80% -h40% -x0 -y0

You can configure key bindings and fuzzy completion to open in tmux
popup window like so:

  FZF_TMUX_OPTS='-p 80%'
4 years ago
Junegunn Choi b0673c3563
0.21.0 4 years ago
Shun Sakai 3918c45ced Update copyright year (#1832)
Update copyright year to 2020 and change to multi-year format.
4 years ago
Junegunn Choi 3db6b88d82
Add preview-fg and preview-bg for --color
Close #1776
4 years ago
Junegunn Choi 23a06d63ac
Update CHANGELOG and man pages 5 years ago
Junegunn Choi ff951341c9
0.18.0 5 years ago
Junegunn Choi b46227dcb6
0.17.5 6 years ago
Junegunn Choi f0fe79dd3b
0.17.4 6 years ago
Junegunn Choi 390b49653b
0.17.3 7 years ago
Junegunn Choi 04aa2992e7
Revert "0.17.2"
This reverts commit 2f1edeff78.
7 years ago
Junegunn Choi 2f1edeff78
0.17.2 7 years ago
Junegunn Choi 0b33dc6ce1
0.17.1 7 years ago
Junegunn Choi e89eebb7ba
0.17.0 7 years ago
Junegunn Choi ecb6b234cc
0.16.11 7 years ago
Junegunn Choi 6dbc108da2
0.16.10 7 years ago
Junegunn Choi 18a1aeaa91
0.16.9 7 years ago
Junegunn Choi b49f22cdf9
0.16.8 7 years ago
Junegunn Choi 2d61691bb2
0.16.7 7 years ago
Junegunn Choi e03e91477b
0.16.6 7 years ago