m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-19 09:03:43 -05:00

Do not show preview window by default if --preview is empty

Close #2516
This commit is contained in:
Junegunn Choi
2021-06-08 08:53:29 +09:00
parent a74731d7f5
commit 7191ebb615
2 changed files with 18 additions and 1 deletions

View File

@@ -1,6 +1,22 @@
CHANGELOG
=========
0.27.3
------
- Preview window is `hidden` by default when there are `preview` bindings but
`--preview` command is not given
- Vim plugin
- `sinklist` is added as a synonym to `sink*` so that it's easier to add
a function to a spec dictionary
```vim
let spec = { 'source': 'ls', 'options': ['--multi', '--preview', 'cat {}'] }
function spec.sinklist(matches)
echom string(a:matches)
endfunction
call fzf#run(fzf#wrap(spec))
```
0.27.2
------
- 16 base ANSI colors can be specified by their names