What happened?
Under :completion
I’ve enabled (vertico +icons)
and (company)
.
When I use find-file (SPC .
) and start going through candidates, I want to preview the file under point, so I use the preview binding (CTRL SPC
). The resulting window appears in the middle of the frame and is pretty short: Maybe 8 lines tall. It’s not enough to get as much context as I’d like sometimes, it’s sharing half of the non-Vertico parts of the frame with the window I invoked find-file from, and there’s a lot of visual clutter.
┌──────────────────────────┐
│ │
│ Original window │
│ │
├──────────────────────────┤
│ │
│ Preview window │
│ │
├──────────────────────────┤
│ │
│ Vertico window │
│ │
└──────────────────────────┘
What did you expect to happen?
Well, let’s not use words like “expect” and “should happen” because I don’t know what to expect and it’s possible that the whole thing is working as intended by the people who get to say “should.”
What I’d like to happen would be to have the preview window take up the remainder of the frame that is not occupied by Vertico. That would let me see more of the file and it’d be a lot less visually cluttered.
┌──────────────────────────┐
│ │
│ │
│ Preview window │
│ │
│ │
├──────────────────────────┤
│ │
│ │
│ Vertico window │
│ │
│ │
└──────────────────────────┘
I spent a pretty healthy amount of time trying to run this down, but depending on how I searched a number of packages were implicated and I realized I’m just in over my head.
Steps to reproduce
- invoke
find-file
withSPC .
- Position the point over a candidate.
- invoke preview with
CTRL SPC
- Observe preview window in middle of frame.
System information
Loading data dump...