focus.vim icon indicating copy to clipboard operation
focus.vim copied to clipboard

Un-toggling kills buffers in other tabs

Open danetrata opened this issue 7 years ago • 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.

danetrata avatar Feb 07 '18 19:02 danetrata

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.

merlinrebrovic avatar Feb 10 '18 13:02 merlinrebrovic

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

martinblaha avatar Jun 06 '20 15:06 martinblaha