fugit2.nvim icon indicating copy to clipboard operation
fugit2.nvim copied to clipboard

bug: when accidentally switching out of fugit2Graph you cannot get back

Open sboesebeck opened this issue 11 months ago • 2 comments

Did you check docs and existing issues?

  • [X] I have read all the plugin docs
  • [X] I have searched the existing issues
  • [X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

NVIM v0.9.5

Operating system/version

MacOS14.3.1

Describe the bug

when a Fugit2 dialog is open and you switch to another window or open neotree for example, you cannot get back to the neogit2 dialog. If you type in <CMD>Fugit2Graph for example again, you'd get a second dialog, you can use on top of the existing one (instead of reusing the already opened one). If you close that, the dialog stays open

Steps To Reproduce

  1. open a file in a git repository
  2. open fugit2Graph dialog, e.g. <CMD>Fugit2Graph
  3. open neotree or go to "next window"
  4. try to close the dialog

Expected Behavior

there might be two "solutions" to this:

  • close the dialog as soon as the focus is lost. Might be annoying to accidenially close this all the time though
  • reuse the dialog. So when opening it a 2nd time, I can close it.

Update: It only happens with Fugit2Graph and the CTRL-W CTRL-W gets the focus back...

sboesebeck avatar Mar 20 '24 20:03 sboesebeck