Skip to content

height should be able to be set by FZF_DEFAULT_OPTS #551

@georgeharker

Description

@georgeharker

--height=${FZF_TMUX_HEIGHT:=$(( min(max(lines, fzf_min_height), LINES / 3 * 2) ))} \

This I think is attempting to set the height according to items, but you can now set --height=~40% in fzf directly which will decrease to less space if there aren't enough items to fill 40%. I think FZF_TMUX_HEIGHT is only used by fzf if FZF_TMUX_OPTS isn't set now. Regardless, it'd be great to not have fzf-tab override the height, or to have a clean zstyle to set what gets passed there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions