junegunn / fzf.vim

fzf :heart: vim
MIT License
9.55k stars 583 forks source link

Dynamic floating window? #1449

Open tmpm697 opened 1 year ago

tmpm697 commented 1 year ago

There're some similar issues here that closed as wontfix: https://github.com/junegunn/fzf.vim/issues/632 https://github.com/junegunn/fzf.vim/issues/1155

But I think these requests are reasonable, I want to have like max_height, max_width but if number of candidates are lower than those, let shrink the floating window size.

I think I can suffer the cost of waiting for all candidates populated before seeing the floating window but I want it to take the exact space it needed rather than a fix window size.