Replies: 1 comment 2 replies
-
Hey! I think off the bat, I'll just say that the The "floating" implementation is considered experimental, and as you illustrated, very much lives up to that. For a better experience, I recommend using a |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I chose to put this question in discussion because I'm unsure if it's intended behavior or not. If so, my usage of Neogit must be different than intended so I would be grateful if you could steer me back to the right course. Thanks!
Overview
When I was updating my Neogit configuration to use a floating window instead of splitting, I noticed that setting
kind='floating'
will open Neogit in a floating window but popups that can be opened from within Neogit will continue to open as splits on the window from which Neogit was originally opened. The Neogit floating window often partially obscures the split window (for commit, push/pull, etc.) which makes it hard to read. Additionally, I have not found a good way to close the original Neogit window (although this may be down to me not knowing the right Neovim commands).I also noticed that despite setting
commit_popup
to floating, the commit message window does not open in a popup. Please see the following screenshots:Example 1:
Example 2:
Possible solution
When considering how I use Neogit, I think the following solutions would feel smoother:
kind='floating'
is set on the top level, all popups than can be opened from within Neogit are also set to'floating'
so that they open within/on top of the open Neogit floating window.kind='floating'
is set on the top level, split the Neogit window rather than the window from which is was opened.I'm sorry if this is a duplicate issue or if I'm misunderstanding the intended behavior!
Beta Was this translation helpful? Give feedback.
All reactions