Support preview scroll offset relative to window height

Related: https://github.com/junegunn/fzf.vim/issues/1092
This commit is contained in:
Junegunn Choi
2020-08-23 15:57:49 +09:00
parent 1ab4289ad6
commit 1cb19dbf65
4 changed files with 32 additions and 7 deletions

View File

@@ -1,6 +1,16 @@
CHANGELOG
=========
0.22.1
------
- Support preview scroll offset relative to window height
```sh
git grep --line-number '' |
fzf --delimiter : \
--preview 'bat --style=numbers --color=always --highlight-line {2} {1}' \
--preview-window +{2}-/2
```
0.22.0
------
- Added more options for `--bind`