andreyorst / fzf.kak

FZF for Kakoune
MIT License
143 stars 33 forks source link

feat: add tmux popup width #111

Closed adamchristiansen closed 2 years ago

adamchristiansen commented 2 years ago

When using fzf in a tmux popup, the fzf_tmux_height is respected, however, there is no way to specify the width (which defaults to 50%). This feature adds the fzf_tmux_popup_width option that can be used to set the popup width in either screen percentage or columns.

This size affects only the popup. When using a split, the width is automatically the same width as the current pane (which makes sense as a horizontal split is used), which cannot be overridden as it must be the same width as the original pane.

andreyorst commented 2 years ago

thanks!