diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2022-07-20 12:08:54 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2022-07-20 12:08:54 +0900 |
commit | 82b46726fc9e568e463af184c065fee2bf7045b7 (patch) | |
tree | 59760f81d9a0587d7218101193747522c449aee7 /CHANGELOG.md | |
parent | 8df872a482799377fc03c3ef58f408484bf6b7bf (diff) |
Add support for an alternative preview window layout
Close #2804
Close #2844
Related #2277
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 96a9945a..b5a8519f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,16 @@ CHANGELOG 0.31.0 ------ +- Added support for an alternative preview window layout that is activated + when the size of the preview window is smaller than a certain threshold. + ```sh + # If the width of the preview window is smaller than 50 columns, + # it will be displayed above the search window. + fzf --preview 'cat {}' --preview-window 'right,50%,border-left,<50(up,30%,border-bottom)' + + # Or you can just hide it like so + fzf --preview 'cat {}' --preview-window '<50(hidden)' + ``` - Use SGR mouse mode to support larger terminals - Bug fixes and improvements |