Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The cursor might not be located at the Kanban after closing the corresponding markdown with :wq. #20

Open
nyngwang opened this issue Mar 5, 2023 · 0 comments

Comments

@nyngwang
Copy link

nyngwang commented Mar 5, 2023

As title. Some clues:

  • The bug happened after I called NeoZoomToggle, which creates a floating window from an existing one, from my plugin https://github.com/nyngwang/NeoZoom.lua. As shown in about 0:03 in the demo below.
    • I believe that any plugin that moves the cursor outside of the markdown will cause the same issue, as long as the winid of the kanban is not stored by kanban.nvim.
  • It seems that kanban.nvim could explicitly provide a command to close the markdown file(opened by <CR> on a card) to jump back to the Kanban. (Otherwise we might need to create some autocmds on WinClosed, but personally I don't like overusing of autocmds)
kanban_bug.20.mov
@nyngwang nyngwang changed the title The cursor might not be located at Kanban after pressing <CR> on any card to edit the corresponding markdown and then :wq. The cursor might not be located at the Kanban after closing the corresponding markdown with :wq. Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant