neoclide / coc-lists

Common lists for coc.nvim
264 stars 24 forks source link

After deleting/wiping the current buffer there is an enormous padding under status line #118

Closed osenvosem closed 3 years ago

osenvosem commented 3 years ago

After deleting or wiping the current buffer from the list status line moves far up and there is a huge empty space under it.

Screenshot 2021-05-23 at 21 59 43

chemzqm commented 3 years ago

It's expected since list window takes fixed height, please avoid close original window.

osenvosem commented 3 years ago

@chemzqm this is very strange behaviour from a user point of view. Why isn't it switch to another opened buffer when I delete the current or open an empty buffer if it was the last one (the default vim behaviour)?

chemzqm commented 3 years ago

You need to understand window & buffer first. You can use --tab option to make CocList takes full window.