junegunn / junegunn/fzf.vim

Dynamic floating window?

Open
#1,449 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Vim Script
Stars
10.3k
Forks
608
Avg merge
5d 8h
Merged PRs (30d)
2

Description

- [x] I have fzf 0.30.0 or above
- [x] I have read through https://github.com/junegunn/fzf.vim/blob/master/README.md
- [x] I have read through https://github.com/junegunn/fzf/blob/master/README-VIM.md
- [x] I have read through the manual page of fzf (`man fzf`)
- [x] I have searched through the existing issues

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing README-VIM.md and the linked prior issues 632 and 1155 to understand the existing floating-window behavior. Reproduce the request with the documented minimal Vim configuration and verify that the window respects max dimensions while shrinking to fit the available candidates.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.