-
Notifications
You must be signed in to change notification settings - Fork 30
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
[BUG] Inconsistent Closing of Entire Tab Using TZFocus
#101
Comments
What are you using to close the buffer? |
@loqusion - I use |
All |
This is where I am confused as I am not sure what is happening as it doesn't seem to be related to any snippet - currently, my configuration is the default configuration for TrueZen as of this moment. A simple config would be to just have TrueZen.nvim installed via Packer in your init.lua and that is it. To reproduce my issue, I would say have two tabs open and in each tab have open maybe two or three buffers. Then, from Tab 1 open up a focused buffer via The behavior is very inconsistent and I haven't been able to track down when exactly it happens yet nor what version of TrueZen it seems to be coming from. I am away from my computer that has Packer configured so I can't reproduce a video of the behavior at the moment. |
It could be that another part of your config, or perhaps another plugin, is interacting in such a way that it erroneously closes your original tab upon exiting focus mode, perhaps with an autocommand. If you could provide the rest of your config in a repository it could help me locate the issue. Also, if you aren't using the latest version of true-zen then the issue could possibly lie there. |
Ooof - I won't have access to that computer for a couple weeks. Thanks for the help and I will post back the issue but it could very well be a version issue or plugin interference. Do you have any suggestions on how to back up a neovim config to GitHub by the way? Any nice tools available for it or is the best route just to go into your config environment at do |
Thanks for all the support by the way @loqusion ! 😄 |
There are various ways to go about it, some people prefer a utility like chezmoi while I personally prefer using a bare git repo. There are lots of dotfiles repos on GitHub that you can take inspiration from. Whatever way you choose to go about it, it's important to have a backup of all your valuable dotfiles in case you lose them or you need to configure your development environment on a new system.
No problem! :P |
Hello, first of all, thanks for the amazing plugin. I'm experiencing a similar bug but in my case, when I use I can go easily back to the splits again where I issued the command Basically, this is what happens: |
Hi folks!
I am trying to track down a bug right now (at least, it seems like a bug) where when using "TZFocus", the buffer of interest gets focused from a given tab into a new tab, but sometimes when I close the buffer that was made using "TZFocus", the tab which it originated from closes completely. It is a bit of a nuisance as sometimes I have a nice layout in my tab made for a particular project I am doing and then I have to recreate it. What could I do to either stop this behavior or report back further details about this issue (new to the Neovim lua plugin space)?
Thanks!
~ tcp 🌳
The text was updated successfully, but these errors were encountered: