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
@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
@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
@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
@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
@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 :)
=> More informations about this toot | More toots from marcus@hachyderm.io
@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
@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
@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
@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 This content has been proxied by September (3851b).Proxy Information
text/gemini