diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2018-06-10 01:40:22 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2018-06-10 01:40:22 +0900 |
| commit | 2c26f02f5ce263820a339595517152b70ed63b80 (patch) | |
| tree | 2440ac305ef78bb9d96065ed61eda8aa7c146c08 /plugin/fzf.vim | |
| parent | af87650bc42ec8b821a3502857ca28692d6525d4 (diff) | |
| download | fzf-2c26f02f5ce263820a339595517152b70ed63b80.tar.gz | |
Improve preview window update events
- Update preview window even if there is no match for the query string
if any of the placeholder expressions evaluates to a non-empty string.
- Also, if the command template contains {q}, preview window will be
updated if the query string changes even though the focus remains on
the same item.
An example:
git log --oneline --color=always |
fzf --reverse --ansi --preview \
'[ -n {1} ] && git show --color=always {1} || git show --color=always {q}'
Close #1307
Diffstat (limited to 'plugin/fzf.vim')
0 files changed, 0 insertions, 0 deletions
