Junegunn Choi
6ea38b4438
Add become(...) action that replaces current fzf process
...
Close #3159
2 years ago
Junegunn Choi
f7447aece1
Code cleanup
2 years ago
Junegunn Choi
aa2b9ec476
Add 'show-preview' and 'hide-preview'
...
For cases where 'toggle-preview' is not enough
2 years ago
Junegunn Choi
3ee00f8bc2
toggle-preview should not show empty preview window
2 years ago
Junegunn Choi
fccab60a5c
`--preview-window 0,hidden` should not execute the preview command
...
Until `toggle-preview` action is triggered
Fix #3149
2 years ago
Junegunn Choi
0f4af38457
[vim] Simplify --border injection
...
Prepend the border options so that the user can override them in
'options' entry of the spec.
2 years ago
Junegunn Choi
aef39f1160
[vim] Fix missing --border when --border-label is present
2 years ago
Junegunn Choi
2023012408
0.37.0
2 years ago
Junegunn Choi
95a7661bb1
Sanitize input strings that should be a single line
2 years ago
Junegunn Choi
618d317803
Support custom separator of inline info
...
Close #2030
Close #3084
2 years ago
Junegunn Choi
ae897c8cdb
No need to touch mouse flag if it's already false
2 years ago
Junegunn Choi
d0a0f3c052
Temporarily disable mouse mode when switching to an external command
2 years ago
Junegunn Choi
91b9591b10
Reenable mouse mode when coming back from an external program
...
Close #3141
2 years ago
Junegunn Choi
aa7361337d
Make test case pass on 32-bit platforms
...
Close #3127
2 years ago
Junegunn Choi
284d77fe2e
Add 'focus' event
...
Can we find a better name? I have considered the followings.
* 'point', because "the pointer" points to the current item.
* 'shift', 'switch', 'move', etc. These are not technically correct
because the current item can change without cursor movement (--tac,
reload, search update)
* 'change' is already taken. 'change-current' feels a bit wordy and
sounds wrong, 'current-changed' is wordy and doesn't go well with the
other event names
* 'target', not straightforward
Close #3053
2 years ago
Junegunn Choi
826178f1e2
Do not restore terminal state while running an external command
2 years ago
Junegunn Choi
acccf8a9b8
Fix TOC
2 years ago
Francesco Bigagnoli
57c066f0be
Fix bat url in README ( #3129 )
2 years ago
Nachum Barcohen
e44f64ae92
Add Helix editor to bash autocompletion ( #3137 )
2 years ago
Junegunn Choi
d51980a3f5
Add 'transform-border-label' and 'transform-preview-label'
2 years ago
jpcrs
c3d73e7ecb
Add change-border-label and change-preview-label actions, update man
2 years ago
Junegunn Choi
b077f6821d
Action argument in enclosed form should allow new lines
...
Close #3138
2 years ago
Junegunn Choi
a79de11af7
README: Add FZF_TMUX_OPTS example for tmux popup
2 years ago
Junegunn Choi
2023011763
0.36.0
2 years ago
Junegunn Choi
b46e40e86b
[vim] Automatically set RUNEWIDTH_EASTASIAN=1 when &ambiwidth == double
2 years ago
Junegunn Choi
a6d6cdd165
[vim] Use system-default border style
...
* 'rounded' on non-Windows platforms
* 'sharp' on Windows
2 years ago
Junegunn Choi
dc8da605f9
Fix rendering of double-column borders on light renderer
2 years ago
Junegunn Choi
8b299a29c7
Fix rendering of double-column borders
2 years ago
Junegunn Choi
3109b865d2
Fix typo on man page
2 years ago
Junegunn Choi
0c5956c43c
Better support for Windows terminals
...
* Default border style on Windows is changed to `sharp` because some
Windows terminals are not capable of displaying `rounded` border
characters correctly.
* If your terminal emulator renders each box-drawing character with
2 columns, set `RUNEWIDTH_EASTASIAN` environment variable to `1`.
2 years ago
Junegunn Choi
1c83b39691
Update README examples
2 years ago
Junegunn Choi
77874b473c
Update Rubocop dependencies
2 years ago
Junegunn Choi
b7cce7be15
Remove unused block argument
2 years ago
Junegunn Choi
3cd3362417
Fix test failure
2 years ago
Junegunn Choi
e97e925efb
Resume preview following if the user scrolls the window to the bottom
2 years ago
Farooq Karimi Zadeh
0f032235cf
Correct package manager commands for apt ( #3117 )
2 years ago
Junegunn Choi
e0f0984da7
Allow re-enabling preview follow on change-preview-window
2 years ago
Junegunn Choi
4d22b5aaef
Disable preview follow after dragging the scrollbar
...
TBD: Should we re-enable follow once the offset reaches the bottom?
2 years ago
Junegunn Choi
80b8846318
Run preview command when preview window appears after resize ( #3113 )
...
# Start fzf in a small screen so that the preview window is hidden
fzf --bind 'ctrl-p:toggle-preview' --preview 'stat {}' --preview-window='right,50%,<100(down,50%,hidden)'
# Enlarge the screen until the preview window appears. It should not be empty.
2 years ago
Junegunn Choi
bf641faafa
Prevent fzf crashing on malformed remote action
2 years ago
Junegunn Choi
23d8b78ce1
Allow toggling of alternative preview window layout that is hidden
...
Fix #3113
2 years ago
Junegunn Choi
3b2244077d
Add scrollbar to the preview window
2 years ago
Junegunn Choi
ee5cdb9713
Reduce flickering of the scroll info panel on the preview window
2 years ago
Junegunn Choi
03d02d67f7
Fix cyclic scrolling with non-zero preview header lines
...
e.g. fzf --preview-window 'cycle,~2' --preview 'echo foo; echo bar; seq 100'
2 years ago
Junegunn Choi
5798145581
Fix preview border on tcell renderer
2 years ago
dependabot[bot]
51ef0b7f66
Bump github.com/gdamore/tcell/v2 from 2.5.3 to 2.5.4
...
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell ) from 2.5.3 to 2.5.4.
- [Release notes](https://github.com/gdamore/tcell/releases )
- [Changelog](https://github.com/gdamore/tcell/blob/main/CHANGESv2.md )
- [Commits](https://github.com/gdamore/tcell/compare/v2.5.3...v2.5.4 )
---
updated-dependencies:
- dependency-name: github.com/gdamore/tcell/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
dependabot[bot]
97b4542c73
Bump github.com/mattn/go-isatty from 0.0.16 to 0.0.17
...
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty ) from 0.0.16 to 0.0.17.
- [Release notes](https://github.com/mattn/go-isatty/releases )
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.16...v0.0.17 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-isatty
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Junegunn Choi
c1cd0c09a2
Allow dragging of the preview window
2 years ago
Junegunn Choi
1fc1f47d80
Fix double-click on light renderer
2 years ago
Junegunn Choi
ec471a5bc2
Make sure two consecutive double clicks require four clicks
2 years ago