m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 08:13:40 -05:00

Enhance --min-height option to take number followed by +

This commit is contained in:
Junegunn Choi
2025-01-28 18:34:12 +09:00
parent b83dd6c6b4
commit eb0257d48f
9 changed files with 71 additions and 14 deletions

View File

@@ -336,9 +336,12 @@ Adaptive height has the following limitations:
* It will not find the right size when there are multi-line items
.TP
.BI "\-\-min\-height=" "HEIGHT"
Minimum height when \fB\-\-height\fR is given in percent (default: 10).
Ignored when \fB\-\-height\fR is not specified.
.BI "\-\-min\-height=" "HEIGHT[+]"
Minimum height when \fB\-\-height\fR is given as a percentage.
Add \fB+\fR to automatically increase the value according to the other
layout options so that the specified number of items are visible in the list
section (default: \fB10+\fR).
Ignored when \fB\-\-height\fR is not specified or set as an absolute value.
.TP
.BI "\-\-tmux" "[=[center|top|bottom|left|right][,SIZE[%]][,SIZE[%]][,border-native]]"
Start fzf in a tmux popup (default \fBcenter,50%\fR). Requires tmux 3.3 or