Skip to content

How can I configure the width of panes? I want to widen the preview. #3211

Answered by yutkat
shmup asked this question in Q&A
Discussion options

You must be logged in to vote

You can use --preview-window argument.

    --preview-window=OPT   Preview window layout (default: right:50%)
                           [up|down|left|right][,SIZE[%]]
                           [,[no]wrap][,[no]cycle][,[no]follow][,[no]hidden]
                           [,border-BORDER_OPT]
                           [,+SCROLL[OFFSETS][/DENOM]][,~HEADER_LINES]
                           [,default][,<SIZE_THRESHOLD(ALTERNATIVE_LAYOUT)]

eg.

fzf --preview='bat {}' --preview-window=right,70% 

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@shmup
Comment options

Answer selected by shmup
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants