a1346054
cca4cdc4f1
improve test logic and be explicit about the test
3 years ago
a1346054
8f899aaf8a
use proper bash-style notation
3 years ago
a1346054
e53b4bb439
always use [[ ... ]] and not [ ... ] in bash completions
3 years ago
a1346054
ab247a1309
use consistent style for bash [[ ... ]]
3 years ago
Michael Kelley
c21e9edad4
Restore VT hack for Windows ( #2580 )
...
- restore VT enable hack
- resolve an issue reported in https://github.com/kelleyma49/PSFzf
3 years ago
Leon Tepe
9c21a20f8b
Minor readme change ( #2578 )
...
`CTRL-K` moves up and `CTRL-J` moves down, not the other way around (same for `CTRL-P` and `CTRL-N`
3 years ago
Junegunn Choi
7191ebb615
Do not show preview window by default if `--preview` is empty
...
Close #2516
3 years ago
Junegunn Choi
a74731d7f5
[vim] Add 'sinklist' as a synonym to 'sink*'
...
So that it's easier to add a sinklist function to a spec dictionary.
let spec = { 'source': source, 'options': ['--preview', preview] }
function spec.sinklist(matches)
echom string(a:matches)
endfunction
call fzf#run(fzf#wrap(spec))
3 years ago
Junegunn Choi
e086f0b3fe
0.27.2
3 years ago
Junegunn Choi
8255aa23f4
Fix bug where `--read0` not properly displaying long lines
...
Fix #2508
3 years ago
Junegunn Choi
a4bc08f5a3
Allow specifying 16 base ANSI colors by their names
...
Close #2502
3 years ago
Thomas Klausner
7e5aa1e2a5
Mention NetBSD package and how to install it ( #2499 )
...
Close #2487
3 years ago
Junegunn Choi
0818dbc36a
0.27.1
3 years ago
Junegunn Choi
347c4b2625
Add 'unbind' action
...
Fix #2486
3 years ago
Junegunn Choi
34f0d4d0c4
[man] Clarification on --select-1 and --exit-0
3 years ago
Junegunn Choi
cbedb57511
[vim] Workaround for Neovim bug of unconditionally evaluating `unlet $ENV_VAR`
...
See #2495
3 years ago
Junegunn Choi
9ef825d2fd
[vim] Update README-VIM
3 years ago
Junegunn Choi
85ae745910
[vim] Use terminal buffer on 'down' layout on regular Vim on terminal
...
When 'down' layout was used on regular Vim on terminal, fzf would open
below the editor using `--height` option. This was the only case where
terminal buffer was not used (the code was written when Vim didn't have
builtin terminal) and this exception has been a constant source of
confusion.
This commit makes fzf open in a terminal buffer even in that case.
3 years ago
Junegunn Choi
7411da8d5a
[vim] Use FZF_DEFAULT_COMMAND instead of STDIN pipe
...
So that fzf can finish immediately even when the input process doesn't
handle SIGPIPE and keeps running.
Fix #2481
3 years ago
Junegunn Choi
3f75a8369f
Replace RuneWidth to StringWidth to handle grapheme clusters
...
Fix #2482
3 years ago
Junegunn Choi
4cd621e877
ADVANCED.md: tmux 3.2 is officially released
3 years ago
Junegunn Choi
6e3a2fe0bf
[vim] Fix screen offset of relatively positioned popup window
...
Fix #2461
3 years ago
Tom Picton
8b0e1f941a
[vim] Support relative-to-window positioning of popup ( #2443 )
...
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
4 years ago
Junegunn Choi
c7c5e7670a
Fix goreleaser.yml
4 years ago
Junegunn Choi
f6c621ef1b
Update ADVANCED.md
...
Remove unnecessary --color option
4 years ago
Junegunn Choi
faf32d451d
Update ADVANCED.md
4 years ago
Junegunn Choi
252fd7ecb1
Update ADVANCED.md
4 years ago
Junegunn Choi
7fa89dddb4
Update README.md: Examples page
4 years ago
Junegunn Choi
fefdb8c84e
Fix typo
4 years ago
Junegunn Choi
a6cc05936e
ADVANCED.md: Clarification on {q}
4 years ago
Junegunn Choi
b209843545
Advanced fzf examples
4 years ago
Junegunn Choi
19759ed36e
0.27.0
4 years ago
Junegunn Choi
1a7ae8e7b9
Update dependencies
...
go get: upgraded github.com/lucasb-eyer/go-colorful v1.0.3 => v1.2.0
go get: upgraded github.com/mattn/go-runewidth v0.0.9 => v0.0.12
go get: upgraded github.com/mattn/go-shellwords v1.0.10 => v1.0.11
go get: added github.com/rivo/uniseg v0.2.0
go get: upgraded github.com/saracen/walker v0.1.1 => v0.1.2
go get: upgraded golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9 => v0.0.0-20210220032951-036812b2e83c
go get: upgraded golang.org/x/sys v0.0.0-20201119102817-f84b799fce68 => v0.0.0-20210403161142-5e06dd20ab57
go get: upgraded golang.org/x/text v0.3.3 => v0.3.6
4 years ago
Junegunn Choi
da1f645670
Change --preview-window delimiter from : to , for consistency
...
Delimiter : was chosen when --preview-option only supported position and
size attributes. e.g. up:50%
4 years ago
Junegunn Choi
3a2015ee26
Fix minimum preview window height
4 years ago
Junegunn Choi
c440418ce6
Sign and notarize macOS binaries
...
Close #2408
4 years ago
Junegunn Choi
3d37a5ba1d
Apply preview-bg color to preview border of all shapes
4 years ago
Junegunn Choi
15f4cfb6d9
More border optins for preview window
...
Close #2431
4 years ago
Junegunn Choi
be36de2482
Ignore more ANSI escape sequences
...
Fix #2420
4 years ago
Junegunn Choi
391237f7df
[vim] Compare binary versions
...
Close #2410
4 years ago
Junegunn Choi
977e5effd9
[vim] Fix paste on MacVim
...
Close https://github.com/junegunn/fzf.vim/issues/1233
4 years ago
Junegunn Choi
8b36a4cb19
Speed up preview switching when doing partial rendering
...
Fix #2417
4 years ago
Michael Kelley
c8cd94a772
Ensure proper ESC seq handling under Windows preview mode ( #2430 )
...
- Increase go routine buffer size
- Add time wait for nonblock getchr()
- Resolve #2429
4 years ago
Junegunn Choi
764316a53d
Fix flaky test case: test_interrupt_execute
...
Try to avoid extraneous INT signal
4 years ago
Philipp Schmitt
2048fd4042
Update README (--phony -> --disabled) ( #2404 )
4 years ago
Junegunn Choi
f84b3de24b
Automatically set /dev/tty as STDIN on execute action
...
https://github.com/junegunn/fzf/issues/1360#issuecomment-788178140
# Redirect /dev/tty to suppress "Vim: Warning: Input is not from a terminal"
ls | fzf --bind "enter:execute(vim {} < /dev/tty)"
# With this change, we can omit "< /dev/tty" part
ls | fzf --bind "enter:execute(vim {})"
4 years ago
Junegunn Choi
6a1f3ec08b
[install] Download Darwin arm64 binary ( #2400 #2401 )
4 years ago
Mitsuo Heijo
2e353aee96
Replace golang.org/x/crypto/ssh/terminal with golang.org/x/term ( #2395 )
...
See https://github.com/golang/go/issues/31044
4 years ago
Mitsuo Heijo
8edfd14a37
Test against Golang 1.14 and 1.16 ( #2396 )
...
1.14 for 32-bit binaries
4 years ago
Junegunn Choi
1a191ec6f7
Update FUNDING.yml
4 years ago