Skip to content

Commit

Permalink
Update man page sections
Browse files Browse the repository at this point in the history
  • Loading branch information
junegunn committed Jan 6, 2025
1 parent b4ccf64 commit a30181e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions man/man1/fzf.1
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down
6 changes: 4 additions & 2 deletions src/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit a30181e

Please sign in to comment.