diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index 8518cbc..8a5b363 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -186,7 +186,7 @@ e.g. \fB# Avoid rendering both fzf instances at the same time (sleep 1; seq 1000000; sleep 1) | fzf \-\-sync \-\-query 5 \-\-listen \-\-bind start:up,load:up,result:up,focus:change\-header:Ready\fR .RE -.SS STYLE +.SS GLOBAL STYLE .TP .BI "\-\-style=" "PRESET" Apply a style preset [default|minimal|full] @@ -297,7 +297,8 @@ Do not use bold text .TP .B "\-\-black" Use black background -.SS LAYOUT + +.SS DISPLAY MODE .TP .BI "\-\-height=" "[~]HEIGHT[%]" Display fzf window below the cursor with the given height instead of using @@ -347,6 +348,7 @@ e.g. # Popup with a native tmux border in the center with 80% width and height fzf \-\-tmux center,80%,border\-native\fR +.SS LAYOUT .TP .BI "\-\-layout=" "LAYOUT" Choose the layout (default: default) diff --git a/src/options.go b/src/options.go index 8f6af76..12861b0 100644 --- a/src/options.go +++ b/src/options.go @@ -55,13 +55,13 @@ Usage: fzf [options] --ansi Enable processing of ANSI color codes --sync Synchronous search for multi-staged filtering - STYLE + GLOBAL STYLE --style=PRESET Apply a style preset [default|minimal|full] --color=COLSPEC Base scheme (dark|light|16|bw) and/or custom colors --no-color Disable colors --no-bold Do not use bold text - LAYOUT + DISPLAY MODE --height=[~]HEIGHT[%] Display fzf window below the cursor with the given height instead of using fullscreen. A negative value is calculated as the terminal height @@ -73,6 +73,8 @@ Usage: fzf [options] --tmux[=OPTS] Start fzf in a tmux popup (requires tmux 3.3+) [center|top|bottom|left|right][,SIZE[%]][,SIZE[%]] [,border-native] (default: center,50%) + + LAYOUT --layout=LAYOUT Choose layout: [default|reverse|reverse-list] --margin=MARGIN Screen margin (TRBL | TB,RL | T,RL,B | T,R,B,L) --padding=PADDING Padding inside border (TRBL | TB,RL | T,RL,B | T,R,B,L)