Ancestors

Toot

Written by Hugo 雨果 on 2024-12-21 at 15:21

I don't get the whole idea behind floating windows inside #neovim.

I typically want to look at documentation or error details along with my code itself. I don't want an overlay so that I can see useful information XOR my code.

I don't disagree that neovim floating windows look really cool on screenshots, but does anyone actually find this approach more useful that any other design approach?

=> More informations about this toot | More toots from whynothugo@fosstodon.org

Descendants

Written by witcher on 2024-12-21 at 15:42

@whynothugo The only use I found acceptable for it is when telescope opens a floating window for searching for files/text/help interactively.

Nonetheless, I think it's unnecessary to have a floating window for it; it would work just as well in a new tab or a split.

=> More informations about this toot | More toots from witcher@digitalcourage.social

Written by Hugo 雨果 on 2024-12-23 at 08:20

@witcher I still use a split for this. I occasionally need to read the code while switching to another file (mostly on large and less familiar projects).

=> More informations about this toot | More toots from whynothugo@fosstodon.org

Written by Marcus on 2024-12-21 at 16:09

@whynothugo I put all the windows at the edge so they don’t obscure the underlying stuff. Ivy style telescope

=> More informations about this toot | More toots from marcus@hachyderm.io

Written by Hugo 雨果 on 2024-12-23 at 08:22

@marcus Did you ever use a split instead? This was the common thing to do before floats were implemented, and achieved the same result.

=> More informations about this toot | More toots from whynothugo@fosstodon.org

Written by Marcus on 2024-12-23 at 16:24

@whynothugo I use splits for having two files side by side, but for searching, quickfix, terminals and so on I prefer a bottom panel, like this. I guess you consider it a split as well :)

=> View attached media

=> More informations about this toot | More toots from marcus@hachyderm.io

Written by Hugo 雨果 on 2024-12-23 at 17:47

@marcus Looks like a split to me. Why would you not consider it one?

=> More informations about this toot | More toots from whynothugo@fosstodon.org

Written by Taxo Rubio:wq on 2024-12-21 at 17:57

@whynothugo I like floating windows when I want to check something quick and throw away the buffer. That way, the position of all other windows isn't lost. I wish many things that work on floating windows by default would also offer opening on normal windows :s

=> More informations about this toot | More toots from taxorubio@fosstodon.org

Written by Caleb Maclennan on 2024-12-21 at 18:34

@whynothugo for tool tips that are highly ephemeral and e.g. just show relevant API docs for the function I'm in the middle of typing or for completions or whatever they are great. For anything longer running or relevant beyond the word behind the cursor I don't find them useful.

=> More informations about this toot | More toots from alerque@mastodon.social

Written by Hugo 雨果 on 2024-12-23 at 08:23

@alerque I get what you mean, although I often want to keep the signature visible when I type arguments, but need to see previous lines of code (covered by the split) to figure out what variable to use.

=> More informations about this toot | More toots from whynothugo@fosstodon.org

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113691493270404607
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
329.688453 milliseconds
Gemini-to-HTML Time
2.401809 milliseconds

This content has been proxied by September (3851b).