merlinrebrovic/focus.vim

Un-toggling kills buffers in other tabs

danetrata opened this issue · 2 comments

When I have multiple buffers and tabs open, I get errors when exiting focus mode.

2 buffers wiped out
Error detected while processing function <SNR>51_ToggleFocusMode:
line    6:
E108: No such variable: "t:focusmode"
Press ENTER or type command to continue

When I have time, I'll probably make a PR down the road since the issue looks like the variable is out of scope.

That's a good catch. And it shows how different people have different workflows.

If you send me a PR with a fix, I'll be happy to test and merge it.

Hi, I'm having the same issue - a fix would be very nice. Thanks.